Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim following non linear path

Ludovico Dover
Registered User
Join date: 1 Dec 2008
Posts: 11
12-15-2008 04:33
Hi!
I need your help again :-)
How can I make a prim following a non linear path? Like a sinusoidal shape. I would like to crate an invisible prim with a particle inside (not-moving) that follow that (it's a kind of graph simulation). Similar to a fixed impulse. Previosly I have asked about this(/54/3d/297353/1.html), but actually it wasn't what I was looking for...

I was thinking about different half rotations changing their directions but I guess it's too difficult...

Thanks for any help!

Ludovico
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
12-15-2008 05:55
Smoothly following a non-linear path is likely to be quite hard... however, you may be able to fake it by using an optical illusion.

Off the top of my head, you could create a short hollow cylinder on its side, and on its outside is a texture that is almost completely transparent except for one 'blip', and on the inside is the same texture lined up exactly with it (so it appears to be one blip visible inside and out). Rotating the cylinder around its length will cause the outside blip to be visual on the way up, and the inside blip to be visual on the way down... or vice versa. The vertical change of the blip's position should exactly mimic the vertical component of a sinusoidal wave. You can achieve the horizontal motion just by making the cylinder move horizontally while it is rotating.

It's weird and it's quirky... but it could be kinda cool. :-)
Ludovico Dover
Registered User
Join date: 1 Dec 2008
Posts: 11
12-15-2008 07:15
It sounds interesting, I'll think about it...