Jump to content
Sign in to follow this  
granQ

Always reset turret, possible?

Recommended Posts

I am making good progress but need to find a way to always reset turret. Animate didn't work, so any ideas?

Share this post


Link to post
Share on other sites

Idea;

- Add an extra bone to the turret, call it like "turntable".

eg HULL<-->Turntable<-->Main1Turret<-->Main1Gun

- Make the animation of "turntable" a User animation.

- Whenever you want to "reset" the turret (when is that?), trigger a script.

- Have a script that reads the direction of the gun and then manually animate the "turntable" back to zero heading.

- By animating the "turntable" I fully expect the turret to follow, BUT if AI control the turret, it may not work. They may correct.

- The "turntable" can rotate 360deg, so you can keep animating forever.

Edited by [APS]Gnat

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×