|Category||Farming Simulator 2011|
|Benjamin Ebrecht (Unknown)||16.01.2011 16:09|
I'd like to script a traffic light. The script works fine but the traffic cars are crashing against my non-renderable stopper object. What is the right combination of object mask, rigid body type and collsion flags that make traffic cars break and stop in front of my stopper object?
On top it is a pedestrian light. If possible, I want to make the pedestrians crossing the street depending of the state of the pedestrian light. The pedestrians should stop in front of a non-renderable stopper object if their light is red. Is there a combination of object mask, rigid body type and collsion flags that makes pedestrians stop in front of an object?
|Stefan Geiger - GIANTS Software||18.01.2011 16:29|
|Pedestrians currently have no logic to stop at all. So you should write your own pedestrian logic, for which you can use just any collision flag you like (as long as they are not conflicting with other collision flags ;) ).
Triggers for the traffic cars should have the collision mask flag bit25 = 33554432 = hex 2000000.
Note: Log in to post. Create a new account here.