THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/11/2011 at 00:33, xxxxxxxx wrote:
I want to use the Spline Control in an effector to control the scale of clones
Are there any examples or anything similar - rather than trying to figure it all from scratch.
(not that I want the easy route - I looked at the spline gui and I don't think I'm going to get anything off the ground from scratch this side of Xmas)
On 02/12/2011 at 00:33, xxxxxxxx wrote:
On 02/12/2011 at 03:22, xxxxxxxx wrote:
You need multiplier for each clone. You can calulate it by getting the value of the spline for each clone. The Spline customgui takes values between 0 and 1 for calculating the yvalue. You can get the x-value by dividing the clones index with the maximum number of clones - 1.
x = clone_index / float(clone_count - 1)
On 02/12/2011 at 06:47, xxxxxxxx wrote:
thanks for the nudge
On 02/12/2011 at 09:11, xxxxxxxx wrote:
Note that, of course, the way you calculate the multiplier will affect your clones physicals.
You may also calculate through the clones position relative to the cloners bounding box, etc. There are many way to reach a goal.
On 02/12/2011 at 09:20, xxxxxxxx wrote: