- Home /
How to prevent an object from walking backward?
Hi,
This is a simple question, it is probably also quite nooby. I have a gameobject randomly moving around. How would I prevent it from moving backwards.
I don't want any answers featuring 'remove the code for walking backwards'. All I need to know is how to detect the object moving backwards and stop it.
Thank You,
Answer by cityseeker · Aug 17, 2012 at 01:05 AM
post the code
Thanks for the reply. I got the thing working now. It's fine.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
An object reference is required for the non-static field, method, or property 1 Answer
How do i make my person move forward in the direction of the cursor 2 Answers
Acces to other object trigger thru other object script 0 Answers
i would like to rotate an object from an other objects script 1 Answer