|
Annabelle Tibbett
Registered User
Join date: 12 Jan 2007
Posts: 7
|
03-05-2008 08:34
Hello,
Is there a way to change the path cut of a prim on touch? And also I need a way to get the current path cut of a prim?
Thank you so much!
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-05-2008 08:45
the touch_start event, probably llOwnerSay, llGetPrimitiveParams, and llSetPrimitiveParams... in short, yes
_____________________
| | . "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... | - 
|
|
Annabelle Tibbett
Registered User
Join date: 12 Jan 2007
Posts: 7
|
03-05-2008 08:50
Thank you, Void! 
|
|
Annabelle Tibbett
Registered User
Join date: 12 Jan 2007
Posts: 7
|
03-05-2008 08:54
I can't seem to find path cut in there.
If it's not too hard, do you know what would the llSetPrimitiveParams would look like to change a cylinder with Path Cut B 0.00 E 0.30 to Path Cut B 0.25 E 0.30 ?
Thanks again.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
03-05-2008 09:17
[PRIM_TYPE, PRIM_TYPE_CYLINDER, 0, <BBB, EEE, 0.0>, 0.0, <0.0, 0.0, 0.0>, <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>] B is the begin, E is the end 
_____________________
| | . "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... | - 
|
|
Annabelle Tibbett
Registered User
Join date: 12 Jan 2007
Posts: 7
|
03-05-2008 09:43
thank you. it works perfectly!
|