celery 8 Posted September 15, 2008 Hi guys, I never took any advanced math lessons so I need help with the setVectorDir command. Basically I need to change only the yaw of a vehicle that stands on uneven ground. setDir makes all other axes go straight and that will cause glitching. How do I make a vehicle yaw, say 1 degree to the right without any other axis being messed up? Share this post Link to post Share on other sites
Maddmatt 1 Posted September 16, 2008 Set pitch / bank functions by General Barron should help. You can use degrees to set pitch and bank which should be less confusing than vectors. Share this post Link to post Share on other sites
nuxil 2 Posted September 16, 2008 or take a look at mr.flea's solution http://www.flashpoint1985.com/cgi-bin....348&st= Share this post Link to post Share on other sites
The_Captain 0 Posted September 16, 2008 I use Gen Barron's functions for my needs too. What I would do is get the pitch/bank of the vehicle, set the new direction with setdir, and just set the pitch/bank to the saved value. Share this post Link to post Share on other sites