Hello all!
I'm in the process of creating a 2d side scroller game using the unity game engine with the C# programming language. I'm creating "boosters" for the main character, one of which is the ability to slow down time. When time slows, everything moves slowler EXCEPT for the main character. Getting time to slow down is easy enough (Time.TimeScale = .5f), but I'm struggling with keeping the main character from slowing down as well. The main character moves using the physics engine by applying force:
rigidbody2d.Addforce(new Vector2 (moveForce, 0), ForceMode2d.Force)
I'm not sure if I need to scale the amount of force applied to the character, and, if so, what the coding would look like. Any thoughts and insight would be most appreciated!