|
Fremont Cunningham
Senior Wizard
Join date: 15 May 2004
Posts: 48
|
12-21-2004 00:07
I have a flying vehicle (physics enabled) in which I attempt to control the pitching ability. Flying slowly I want no pitching, I llSetStatus(STATUS_ROTATE_Y,FALSE); Flying fast I allow pitching: llSetStatus(STATUS_ROTATE_Y,TRUE); This works fine for the first slow flight - pitch is locked, and the first fast flight, vehicle piches. But when I slow the vehicle and try to lock pitch again, the vehicle slowly rotates around Y axis, even completly inverts, even though llGetStatus(STATUS_ROTATE_Y) is returning false! If I fly fast again, the vehicle slowly levels out. Slow -and it starts pitching down again! It almost looks like there is some leakage in the Y-rotation locking. Anyone noticed this? Any work-arounds?
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
12-21-2004 01:42
I'd probably just say, this function only prevents third-party movement (and to a lesser degree, rotation changes by itself), but isnt a catch-all. You may want to run a continous check/set loop to keep the same rotation.
-Adam
|