|
Jeffrey Reymont
Registered User
Join date: 8 Oct 2005
Posts: 7
|
11-27-2005 17:38
Is there an easy way to bend a primitive?
The only thing I've been able to discover is to create a partial arc from a ring. However this seems overly complicated and it is hard to get a natural looking bend. Also I'd like to change the amount of bend dynamically from a script. (I've also experimted with twists but they are even more complicated.)
As a simple usage example, how would I make a pole bend in the wind? (One end of the pole needs to stay fixed and the other needs to slowly bend back and forth.)
|
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
11-27-2005 18:04
You can't do it with a single prim. Best you could hope for is a column of cylinder sections for your pole... the wind would cause each section to offset and rotate a slight amount, based on the wind direction and strength. Obviously, the upper section would offset farther from center, and rotate more.
|
|
Bertha Horton
Fat w/ Ice Cream
Join date: 19 Sep 2005
Posts: 835
|
11-27-2005 19:43
I'm sure you saw this coming:
_____________________
Trapped in a world she never made!
|
|
Random Calliope
Registered User
Join date: 5 Mar 2005
Posts: 62
|
11-27-2005 20:51
You may also consider rotating a series of textures on your prim to animate the illusion of bending rather than insisting on bending the prim itself. There is no way to "bend" a prim.
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
11-27-2005 21:36
From: Jeffrey Reymont Is there an easy way to bend a primitive?
The only thing I've been able to discover is to create a partial arc from a ring. However this seems overly complicated and it is hard to get a natural looking bend. Also I'd like to change the amount of bend dynamically from a script. (I've also experimted with twists but they are even more complicated.)
As a simple usage example, how would I make a pole bend in the wind? (One end of the pole needs to stay fixed and the other needs to slowly bend back and forth.) Cut torus, scaling and rotation could achieve that effect.
|
|
Jeffrey Reymont
Registered User
Join date: 8 Oct 2005
Posts: 7
|
11-28-2005 17:44
Thanks for the responses.
|