Question by
gpapoyan95 · Sep 29, 2017 at 08:55 PM ·
movementmovement scriptsmoothspacespaceship
Please help to smooth player movement.
Hi. I'm creating a game like "Full of starts". I can't make the smooth movement of my spaceship. Can you help me to do that? The prototype of movement in the video.
Comment
I'm trying to move spaceship with force.
void $$anonymous$$oveRight() {
rb.AddForce(new Vector2(13f, 0), Force$$anonymous$$ode2D.Force);
}
void $$anonymous$$oveLeft() {
rb.AddForce(new Vector2(-13f, 0), Force$$anonymous$$ode2D.Force);
}
Your answer
Follow this Question
Related Questions
How to make an object move, not teleport? 0 Answers
Smooth speed increase while sprinting 0 Answers
Player keeps spinning after collision 0 Answers
Face direction of a Vector 3 1 Answer
How do I make my player jump? 1 Answer