Help! I'm trying to make pin-art.
|
|
Sybil Braver
Registered User
Join date: 1 May 2009
Posts: 2
|
05-01-2009 05:33
Hey guys-
I'm very new to SL. I'm trying to make a piece of pin-art (you know, those plates with all the pins in it that you can press a mold of your face into) and I've decided that instead of a plate I'll just have a tube around each pin. It will be double-sided with a stopper at each end to keep the pin from going all the way through the tube.
Is there a way I can make an object physical on only one axis? I want to be able to push a pin I've made through the tube holding it (slide it along the y-axis), but whenever I try to make the whole pin physical it wobbles around then falls out of the tube and rolls down the hill. I have to figure out how to do this very soon for a class project, so any help would be wonderful. Thank you!
|
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
05-01-2009 06:56
From: Sybil Braver Is there a way I can make an object physical on only one axis?
No, i've never heard of such a thing. I *think* the only way to move that pin through the hole would be to script the movement.
|
|
Scott Savira
Not Scott Saliva
Join date: 10 Aug 2008
Posts: 357
|
05-01-2009 07:13
From: Briana Dawson I *think* the only way to move that pin through the hole would be to script the movement.
Sounds like adult content to me.... (poor guy)
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
05-01-2009 07:18
Will this help: http://wiki.secondlife.com/wiki/LlSetStatusllSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, TRUE );
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-01-2009 07:21
llSetStatus(STATUS_ROTATE_X|STATUS_ROTATE_Y, FALSE);
|
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
05-01-2009 07:29
Jesse and Argent to the rescue!
|
|
Sybil Braver
Registered User
Join date: 1 May 2009
Posts: 2
|
05-01-2009 07:57
Thank you guys! I hope this works!
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
05-01-2009 08:04
IIRC, STATUS_ROTATE_* defaults to TRUE, needs to be set to FALSE.
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
05-01-2009 08:15
From: Argent Stonecutter IIRC, STATUS_ROTATE_* defaults to TRUE, needs to be set to FALSE. oooops
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
05-01-2009 09:13
or course that means that each 'pin' will have to be a separate physical object. and may interact strangely with the bounding box of objects compared to the visual of the object.
note this applies to the objects local axis, not the regional axis
_____________________
| | . "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... | - 
|