Search the Community
Showing results for tags 'car'.
-
What is the best suitable code area to put a cars physics calculations such as torque velocity etc. onFlush, onPreUpdate, onUpdate, onPostUpdate or onRender? After I calculate physics I send them via network. Where should I send and receive these values? Thanks.
-
Hi, I have developed a game over game framework. I am using your Car, Level, Driver examples. My car is getting commands from UDP ( wheel, gas, brake etc.) Anyway, If my camera is not looking at my car physics are not working. It gets ignition, gas but it is not moving unless I turn camera to car. Is there anything to fix it? It makes no sense. I should not always look at my car. Before you ask, my code is too huge and complicated to send. But I don't think there is something about my code. There must be a setting maybe rendering setting. Thanks.
-
In your car example, I can get parent object by getRootNode. But when I want to access my entity, object.getParent() returns NULL. What is the reverse of getRootNode()? Thanks.
-
Hi, we have a vehicle model that will run scripts for engine torque, rpm, efficiency, etc. I calculate a torque value from car engine to geartrain and differentials, then apply the torque to the wheels, Unigine handles the physics beyond that point. I need to fetch the rolling resistance experienced by the wheel, so that I can take into consideration the negative torque feedback to the engine to use it as engine load. Is there a way I can "get" the current forces on the wheel? Cem. P.S.: I am using JointWheel by the way.