Hi,
The invert option can have a drawback: the train passes the coloured plate, and when it comes back it inverts again. So I if you use setmotorspeed or equivalent, it will always go the right way.
Hello. Nice work. 10 wide trains are a new world to explore. In your model I would try to use the 4x3x1 windows and the 2X3X1. The top tecnhic bars I wouldnt´ use. It adds a lot of weight. I would use 2 train motors (power, speed and easier buildind.
Hello
I´d like some help with C++ variable assignment and reassignment.
In Global code I declare:
publ INT B_red=0;
In Sensor event code:
if(B_red==0); //its OK
B_red=1; //gives an error
So I only want to be able to change the value of B_red in sensor event code, how do I achieve that?
Thanks