Jump to content

Where to put car physics?


photo

Recommended Posts

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.

Link to comment
×
×
  • Create New...