Aircraft roll left & right problems

Blitz3D Forums/Blitz3D Beginners Area/Aircraft roll left & right problems

puki(Posted 2010) [#1]
What's going on here?


_PJ_(Posted 2010) [#2]
Looks like the problem's more than just with roll left and right :)

In case it matters:
usually the 4th parameter of TurnEntity entity%,pitch#,yaw#,roll#,[global%] deals with the roll.

Positive Roll rotates the entity COUNTER-clockwise. Negative rolls clockwise.

The values read back with EntityRoll(entity) range from 0 to 180 where it then 'flips' to -180 (or -179.9999999 etc.) an continues back to 0

The 'flipping' can resullt in what's known as a gimbal-lock this has been a cause of presumed errors in the past, where the orientation is restrained to certain vallues. More information can be found on wikipedia etc. regarding this effect.


Aussie(Posted 2010) [#3]
Cheers for the info Malice. But i didn't post this???????