Open the flexi-prim API to LSL
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
04-16-2006 10:16
Hey all, Just checked out the preview, the flexible stuff is totally droolworthy  The LSL editor's Insert menu sobered me up though... there didnt seem to be any PRIM constants defined to manipulate the new properties.  Will this be released in a future preview version? Is there some more technical reason for their omission? ==Chris
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
04-16-2006 14:17
From: Christopher Omega Hey all, Just checked out the preview, the flexible stuff is totally droolworthy  The LSL editor's Insert menu sobered me up though... there didnt seem to be any PRIM constants defined to manipulate the new properties.  Will this be released in a future preview version? Is there some more technical reason for their omission? ==Chris I am both guessing and hoping they'll be in a future release. Gistya Eusebio just showed me in preview that can use PRIM_FLEXIBLE which appears undocumented, I.E. : llSetPrimitiveParams([PRIM_FLEXIBLE,1]); So while we can't turn lights on and off now, we can toggle flex. 
|
Gistya Eusebio
Registered User
Join date: 14 Mar 2006
Posts: 112
|
Prim_flexible
04-16-2006 14:21
Damn your fast, Logan. Hehe. I keep trying to see if anything else works... PRIM_FLEXIBLE_SOFTNESS etc. doesn't work, PRIM_LIGHT does nothing, etc. I'll keep tryin' stuff and see if i can 'stumble' upon the answer haha.
-Gistya
|
Yedwab Linden
Linden Lab Employee
Join date: 7 Feb 2005
Posts: 25
|
04-17-2006 21:05
Soon, all the flexible parameters will be part of that call. So you will be able to say:
llSetPrimitiveParams([PRIM_FLEXIBLE, TRUE, 1, 1.0, 0.0, 0.0, 0.0 ])
And it's possible someone will get to it on the LSL Wiki before I do, because you guys are fanatical that way.
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-17-2006 21:21
From: Yedwab Linden Soon, all the flexible parameters will be part of that call. So you will be able to say: llSetPrimitiveParams([PRIM_FLEXIBLE, TRUE, 1, 1.0, 0.0, 0.0, 0.0 ]) And it's possible someone will get to it on the LSL Wiki before I do, because you guys are fanatical that way. Aaaand... how about for lighting? =^.^=
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
04-17-2006 23:41
Should we expect the same 0.2s delay per call?
|
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
|
04-18-2006 02:30
llSetLinkFlexibility, or something, would be nice, too. I want to change all of an object's prim's flexibility properties at once (like to simply toggle the flexibility attribute).
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
04-18-2006 03:23
Hey i found a way to bypass the physics & phantom restriction, and i don't see a reason for them, i put a flag on my motorcycle, and while it didn't ripple in the breeze, it didn't crash the sim either. So please remove both restrictions. So what if the boudning box doesn't match the rippled shape, it doesn't match up for llTargetOmega. Eep lets wait till a while before adding the new syntax to the wiki (right now it only supports an integer).
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|