- Home /
How do I move a character WITHOUT acceleration/deceleration?
I'm making a 2D platformer and, by default, my character slowly accelerates/decelerates whenever the move key is pressed or isn't. The thing is, I want my character to start and stop immediately, similar to some older games. Is there a way to get rid of any acceleration?
BTW, I'm using Playmaker for my code since Visual Studio doesn't like my computer much :/
I believe you are looking to set the Velocity, not add force. Have you looked at rb.Velocity = New Vector2 (x, y);
I have not. How would I do that with Play$$anonymous$$aker? Visual Studio is very unstable with my computer.
Answer by HenBOMB · May 31, 2019 at 09:08 PM
Im guessing that you are using Lerp() or Slerp() to move the character, instead, use MoveTowards().
Your answer
Follow this Question
Related Questions
Yet another 2D pixel perfect movement question 0 Answers
2D Directional top down movement,Topdown 2d Directional Movement 0 Answers
How can I make an object stop all momentum and hold it's position in air? 1 Answer
What is the best/easiest way to align a 2D rigidbody to specific sections of a sprite? 1 Answer