resume auto simulation

Post Reply
EliasNemer
Posts: 15
Joined: Mon Dec 09, 2019 1:10 pm

resume auto simulation

Post by EliasNemer »

hello,

im my Unity3D project i have a line of code that calls auto simualtion over a number of frames. but after that it seems the physics world stops updating..

after that i would like to apply an impulse to a rigidbody but it does not apply.. i think it is due to the need to go through the step simualtion.

how can i resume the autosimulation, in which at the begining of the scene i have a physics script attached to a gameObject, which runs impulses and such automatically with no need to call step simulation. i would like to go back to that after calling step simulation..

thanks
Post Reply