Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to Make An Object Move In A Direction And Reverse At Walls?

Asked by 2 years ago

I know a decent amount of Lua but I need some help with this. I have a mesh and what I want for it to move in one direction, and if it hits a wall, it turns and goes in the other direction. Could anyone help with this?

Answer this question