Jump to content
Devastator_cm

BIS_fnc_setPitchBank not working

Recommended Posts

Hi Guys,
I am facing a weird situation when I use BIS_fnc_setPitchBank.


While I am flying with 0 pitch and 0 roll with Cessna TTx, I issue following command

 

[vehicle player, 0, 0] call BIS_fnc_setPitchBank;

which causes an immediate stall although without a reason which I can think of..

Anybody knows why it is working weird like below?

 

 

 

Share this post


Link to post
Share on other sites

so  BIS_fnc_setPitchBank has them inside?
It is then weird because when I use Firewill's F-16 I do not face such an issue at all..

Share this post


Link to post
Share on other sites
29 minutes ago, Devastator_cm said:

so  BIS_fnc_setPitchBank has them inside?
It is then weird because when I use Firewill's F-16 I do not face such an issue at all..

The function uses setVectorDirAndUp, but it does the same.

 

You could try first getting the velocity before the command and then set it back after it.

_velocity = velocityModelSpace vehicle player;
[vehicle player, 0, 0] call BIS_fnc_setPitchBank;
vehicle player setVelocityModelSpace _velocity;

 

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

×