- Home /
How can I get player to move when only touching an object
I'm working on a 3D game where I wan't the player to be able to move away from the object it is next to in any cardinal direction (bar the one blocked by the object) and travel in that direction until they hit another object.
I've tried writing a script but it hasn't really done anything.
If the player is the pink square with a yellow square on top, it should be able to push left, right and down.
![alt text][1] [1]: /storage/temp/168290-help.png
help.png
(399.5 kB)
Comment
Your answer
Follow this Question
Related Questions
Player movement for iOS? 1 Answer
2.5D Isometric Move Character and Facing towards mouse 0 Answers
Cannot dash in left-down, left-up and right-down directions? 2 Answers
How to make a good PlayerMovement 1 Answer
Rigidbody movement 1 Answer