Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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???
Develop games in your browser. Powerful, performant & highly capable.
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
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.