- Home /
Move Object
Hi every body..... I have some cubes.... I suppose one cube is a player that can moved ... and the others are the floors or roads ...I make the player move automatically forward or backward... I need to turn right or left at the corner of the road. I want the player stay on the middle road when I turn it to left or right...
Any idea or sample scripts ??? Please, help........
Answer by croucho · Mar 28, 2012 at 06:12 PM
I'm guessing you're trying to move the AI/player without input? If so, you'll want to consider using Unity's new path finding (available in 3.5 pro). If you don't have the pro version there are several path finding add-ons available in the Unity Store.
If you're looking to move the player with input, but just don't understand how, you can look at posts here under Player Rotation, player movement, rotation axis, etc.
Hope this helps!