NOT YET IMPLEMENTED
|
NOT YET IMPLEMENTED
|
fig 1. | fig 2. |
To create a Mesh Constraint, select a polygonal object, then select one or more objects to constrain and use the menu item "Constrain -> Mesh Constraint".
Three attributes will be added to the constrained object, Polygon ID , UValue and VValue . The values in these attributes are initially set on creation of the constraint with the values of the closest polygon id, and the closest U and V values on that polygon.
By adjusting the Polygon ID value, you can move the constrained object from one polygon to the next.
Adjusting the UValue and VValue attributes enables you to move the constrained object on the current polygon. If the UValue or VValue that you are using does not exist for the current polygon or is out of range, the object will constrain itself to the center of the polygon.
There are several options for creating the Mesh Constraint.
General Options
Snap To Surface
The Snap To Surface option moves the constrained object to the closest point on the polygonal mesh and then connects the constraint's Result Position attribute to the object's Translate attribute. Wherever the polygonal mesh moves, the constrained object will stick to that point.
Orient To Surface
The Orient To Surface option rotates the constrained object to align it with the closest point on the polygonal mesh's normal and then connects the constraint's Result Rotation attribute to the object's Rotate attribute.
Parenting Options
Create Parent Transform
If you want to preserve your objects current orientation and position, selecting this option will create a parent transform node for each of the selected objects and constrain it to the polygonal mesh using the General Options that you specify.
Snap Child To Surface
If you want the child of the parent (your selection before the creation of the new parent transform) to move to the closestPoint on the polygonal mesh before it gets parented, turn Snap Child To Surface on. The child's Translate attribute will remain free of connections, enabling you to add secondary animation to it.
Orient Child To Surface
If you want the child of the parent (your selection before the creation of the new parent transform) to orient itself to the normal of the closestPoint on the polygonal mesh before it gets parented, turn Orient Child To Surface on. The child's Rotate attribute will remain free of connections, enabling you to add secondary animation to it.
In Mesh
The In Mesh attribute gets connected to the World Mesh attribute of the polygonal object that the constraints are connected to.
Input
The Input Target attribute is a compound array attribute which is used to store all of the data for each target geometry. Each target geometry will be connected at the next available index in the array. There are two child attributes under Input Target - Input Geom Target and Input Weight Target.
Polygon IdResult Position
The Polygon Id stores the id of the polygon at the current index. This attribute is automatically connected to the constrained object's Polygon Id attribute that is added when the constraint is connected.
U Value
The U Value stores the u value of the point on the polygon that the constrained object is connected to. If the U Value does not exist on the current polygon, it is ignored and the constrained object moves to the center of the polygon. This attribute is automatically connected to the constrained object's U Value attribute that is added when the constraint is connected.
V Value
The V Value stores the v value of the point on the polygon that the constrained object is connected to. If the V Value does not exist on the current polygon, it is ignored and the constrained object moves to the center of the polygon. This attribute is automatically connected to the constrained object's V Value attribute that is added when the constraint is connected.
The Result Position attribute is an array attribute. Each element of the array contains the position in World Space for the constrained object based on the Input settings at the same array index. This attribute is automatically connected to the Translate attribute of the constrained object.
Result Rotation
The Result Rotation attribute is an array attribute. Each element of the array contains the rotation in World Space for the constrained object based on the Input settings at the same array index. This attribute is automatically connected to the Rotate attribute of the constrained object.
Result Normal
The Result Normal attribute is an array attribute. Each element of the array contains the normal direction of the polygon based on the Input settings at the same array index. This attribute is not automatically connected to the constrained object.
Limitation : NOT YET IMPLEMENTED
NOT YET IMPLEMENTED.
NOT YET IMPLEMENTED
NOT YET IMPLEMENTED
NOT YET IMPLEMENTED