|
Raven Ginsberg
Registered User
Join date: 4 Oct 2006
Posts: 6
|
01-02-2007 11:03
Good morning folks!
I was curious how to isolate a prim to make it rotate with a script, while the rest of the part stays intact and immobile?
I'm not sure what else to ask, this is my first "creation", but as info is needed, I will provide it.
Many Thanks, Raven
|
|
Martin McConnell
Registered User
Join date: 8 Sep 2006
Posts: 116
|
01-02-2007 11:04
Unlink it.
_____________________
Martin McConnell Still an SL Virgin Quote: "I'm saving myself"
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
01-02-2007 13:52
|
|
Furia Freeloader
Furiously Furia
Join date: 13 Dec 2005
Posts: 34
|
01-02-2007 19:21
You are looking for the LSL command llSetLocalRot() which will control the rotation of a prim with respect to a primset. llSetRot() will set rotations with respect to global coords.
|
|
Tiny Hickman
Registered User
Join date: 17 Oct 2006
Posts: 1
|
Depends what you are trying to achieve...
01-03-2007 10:53
In order to make a linked child prim rotate continually and smoothly around it's own center, use llTargetOmega(). This is a client side effect that allows for smooth rotations. If you put llTargetOmega() into the root prim, the whole object will rotate.
If you wish to simply rotate a linked child prim to a fixed angle, then llSetLocalRot(). This will delay the script by 1/5th of a second, so smooth animations are impossible.
|