Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

scritp for linking flexi prims

Get Bussy
Registered User
Join date: 9 Jul 2006
Posts: 27
11-17-2006 23:21
Is it possible to link a prim to another that is flexi, and have it move with the flexi one?


Answer:
You can only link to the "root" end of the floppy prim, not the end that flops. If you could do this there would be hundreds of floppy penis' out there for starters.

The best I heard of is that if you are an ace scripter (I'm not), you can script things so that the location of the end of the floppy prim is tracked and constantly updated in the main script. Thus you could "tell" a prim to occupy that location as it fluctuates. This will always lag though, so the prim at the end of the floppy bit will always be a bit off or a bit behind the motion of the floppy prim.

Considering the cruel lag lately and the sometimes over 100% packet loss in many sims this would not even work a little bit, but on a good day in an empty sim.... maybe.


Anyone who can help me with a script like that??
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
11-18-2006 02:50
The flexing of prims is done entirely on the client side. It is impossible to know where the end opposite the root is.

You might be able to make a guess, but that would be a very involved script and probably couldn't update more than a few times per second, losing the fine movements entirely and being wrong at least part of the time, especially if the object is an attachment as you'd never get any information about what the avatar's animations are doing to influence the flexi-prim. Which is to say, the prim would not appear to be attached in any useful way.

Sorry!
_____________________
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
11-18-2006 17:09
even 2 relatively identical flexi prims may not move precisely the same given the same stimulus. Here's one trick to see the problem. Get a flexi object.. something with a lot of energy and little or no drag. Make sure it's under constant tension. Now zoom your camera in and out a few times.

Zero stimuli on the actual prim... and yet it can be made to twitch and jump "just by looking at it". Are flexi-prims obeying the heisenberg uncertainty principle? or are they just glitchy?

You... Make.. The Call!!!
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura