Trent Hedges
TrentCycle & GRAPHICA
Join date: 4 Sep 2003
Posts: 198
|
08-31-2004 08:33
hey all, anyone know how to LOCK an axis in a physical object? I want to basically make a very fast moving platform that goes upwards using llmovetotaget (because i want to go higher that 512) but i dont want it shifting around and spinning etc... i want to lock it's rotation to NONE basically, and it's movement to only z axis....so it doesn't shift around. I toyed with having it be non-physical - but that can't get me high enough  I have built a lot of stuff in my SL life but this one is perplexing me - i know it's probably simple so i apologize to the gurus  thanks in advance to anyone with the smarts ! Trent.
|
Siro Mfume
XD
Join date: 5 Aug 2004
Posts: 747
|
08-31-2004 08:45
I believe you want llSetStatus(STATUS_ROTATE_X, FALSE); llSetStatus(STATUS_ROTATE_Y, FALSE); llSetStatus(STATUS_ROTATE_Z, FALSE); for more info on llSetSTatus, check: http://www.badgeometry.com/wiki/llSetStatusalso you should note the note on how llSetStatus is ultra sticky. It is rather important if you ever want that prim to rotate ever again, ever.
|
Trent Hedges
TrentCycle & GRAPHICA
Join date: 4 Sep 2003
Posts: 198
|
08-31-2004 09:25
thanks! Very handy! I dont know how i missed that - but i did...
I'd love to test it - dang 1.5 upgrade - how long can it take! ARGH! I WANT IN!!
yes that does seem ultra-sticky - but i CAN turn it back on by setting it to TRUE can't i?
|
Garth FairChang
~ Mr FairChang ~
Join date: 24 Jun 2003
Posts: 275
|
08-31-2004 09:40
Sure can. This also works:
llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z, FALSE);
_____________________
Garth FairChang ~Cheeky Brit~ ' Have a nice day  ' http://www.fairchang.com
|
Trent Hedges
TrentCycle & GRAPHICA
Join date: 4 Sep 2003
Posts: 198
|
08-31-2004 09:57
thanks G! I'd have asked you in world - but - I STILL CANT GET IN !
maybe i need to see someone about this, i am a wreck without SL!
|
Siro Mfume
XD
Join date: 5 Aug 2004
Posts: 747
|
09-01-2004 17:44
no worries, with all the 1.5 related troubles anyway, you're not missing much. Yes you can restore movement along the specified axis by setting the value to true.
|