PDA

View Full Version : soft object selection


Polygonparty
02-15-2012, 11:45 AM
Hey guys,

sometimes it would be cool to select different objects with a falloff...
i try to explain:
i select my object i want to move or rotate or scale, and all objects in my falloff range moving,rotating and scaling with the falloff factor...like the normal soft selection in edit poly mode.

is this possible to script?

thanks in advance
Tommy

stigatle
02-15-2012, 11:56 AM
yes it's possible.
you can use the distance function, select objects within the distance X, then apply some falloff to the selection value.

Distance Between Two Points / Vectors
distance <point3> <point3>
Returns the distance between the points, equivalent to the length of (point 2 - point 1).

as parameter 1 you have your selected object's transform.
as parameter 2 you use your calculated falloff distance.
check for any objects in this range.

use the same calculated factor on the scaling and so on based on the distance from the initially selected object.

CGTalk Moderation
02-15-2012, 11:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.