|
Mojito Sorbet
Registered User
Join date: 12 Jun 2008
Posts: 13
|
04-26-2009 12:52
I have a "vehicle" with several sit-balls on it. Before anyone sits on them I can rotate each one in place easily using llSetLinkPrimitiveParams. But once I sit on one and try this nothing happens.
Well, maybe the sit ball rotates (it goes invisible), but it sure does not take me with it. I also tried having the ball do a llSitTarget with a new rotation but that did not seem to work either.
Can this be done?
|
|
Monster Behemoth
Registered User
Join date: 22 Dec 2004
Posts: 6
|
04-26-2009 14:11
It definitely can be done. You can use llSetLinkPrimitiveParams on avatars belonging to the link set just like you can on prims in a link set. So just call llSetLinkPrimitiveParams on the link number the avatar is with the PRIM_ROTATION rule.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-26-2009 18:13
explanation: once you sit on an object you are part of it's linkset, so at that point your only choices for rotating/moving the seated av are to apply it directly to the av like Monster suggests or to rotate the root (which is pobably not what you want here)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
04-26-2009 21:01
There's an example of it in action here: /15/97/184550/1.html
|