Hey guys / Gals
Trying to get a tank to point in the right direction when using the pathfinding.. right now he just moves along the path in an awkward way - how can I have it set it angle depending on what way it's facing???
anyone?
There's a "Rotate Object" option in the PAthfinding behavior...
Ya but it needs three params degree, x and y so what degree would always point in it's motion path?? does that make sense if he moving right I want him to point right and so on
Develop games in your browser. Powerful, performant & highly capable.
Attached capx for viewing
Like this?
[attachment=0:28jxxvbd][/attachment:28jxxvbd]
ohh thank you - thats perfect.... thanks bruno
well I did what you added in the on moving and it dont work for me did you make changes to anything else?
Yes. Tank orientation must be to the right. Angle 0 is to the right.
Remember to rotate all frames in the animation.
Cheers.