How to make my player move forward when on an object
I want my player to be shot/moved forward in the direction an object is facing once he steps on it. How do I do that?
Answer by Salocin19 · Mar 03, 2016 at 05:06 PM
You could try an AreaEffector2D:
https://unity3d.com/learn/tutorials/modules/beginner/5-tutorials/area-effector-2d?playlist=17093
Really there are infinite ways you could accomplish this! However, AreaEffector2D seems like one of the simplest ways to accomplish what you described in your question.
Your answer
![](https://koobas.hobune.stream/wayback/20220612070216im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I make a surface move a player forward? 1 Answer
[Help] Player stops moving when hitting wall diagonally 0 Answers
When friction on physic material 2d is at 0 my player slide 0 Answers
Can someone please tell me whats wrong with this?, because when i put it says error in the GetAxis 1 Answer
Issue with Player Movement,Issue With Player movement 0 Answers