Jump to content
Sign in to follow this  
Asuriel

rotating a gbu12?

Recommended Posts

hi there,

i am trying to spawn GBUs at an high altitute and having them hit a target right below them. But they always drift off in the direction they are facing.

I tried setvectorup and setvector direction, but i can't get them to face directly downwards. does any1 know how to?

Share this post


Link to post
Share on other sites

That's a mathematical problem due to rotation matrices. You also notice this effect with the camera which cant set to directly watch downwards. So you need a very little offset. Try this:

GBU setVectorUp [1,0,-0.01]

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  

×