Hello Everybody.
I need to validate what I did to slow down a single object that use a RigidBody2D. I looked for solution but I didn’t find. So i try something and it work but please can you tell me if it’s dangerous to do that.
Simply, to slow down my RigidBody2D object :
I set RigidBody2D.simulated properties to false one in two in FixedUpdate :
rigidBody2D.simulated = !rigidBody2D.simulated;
The result work very well, as example in our game DragoDino, we have jumper enemy and now when we slow down he seems to be in slow motion :), so.
But if it’s dangerous to use that way or if you have another way, don’t hesitate to say me please !
Thanks a lot for answer !
Pierre Proudhon