Jump to content
Sign in to follow this  
BEAKSBY

Orient bomb down

Recommended Posts

Hi Folks,

How do I get the bomb do always point down?

_bomb = createVehicle ["Bo_GBU12_LGB_MI10",[(_pos select 0), (_pos select 1),20],[], 0, "NONE"];

I tried _bomb setVectorDirAndUp [[1,1,-1],[0,1,0]]; and setVectorUP [0,0,-1]; but has no effect since it's like rotating and spinning a can around.

Share this post


Link to post
Share on other sites

As IndeedPete says...

[_bomb, -90, 0] call BIS_fnc_setPitchBank;
_bomb setVelocity [0,0,-100];

Edited by Beerkan

Share this post


Link to post
Share on other sites

Thanks, but it does not work either.

The values are from 1 to -1.

I also think it depends on the objects current direction...I just can't figure it out.

Share this post


Link to post
Share on other sites

[_shell, -90, 0] call BIS_fnc_setPitchBank;
_shell setVelocity [0, 0, -100];  

Should give you a nice boom.

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  

×