Devastator_cm 434 Posted April 22, 2017 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
Grumpy Old Man 3545 Posted April 22, 2017 Commands like setDir or setPos reset the speed of a vehicle to 0. Cheers Share this post Link to post Share on other sites
Devastator_cm 434 Posted April 22, 2017 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
Greenfist 1863 Posted April 22, 2017 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