Path
The path component defines a path in 3D space. The path can be bound to zero or more dynamic path joints. You can configure the curve for the path either by using feature selection or by creating the curve programmatically. Please see the API documentation for more information.
You may also unlock the axes, allowing the attached rigid body to rotate freely about the tangent, bitangent or normal to the curve. You can also specify limits to restrict the distance that the body is allowed to move along the path.
Properties
The path component properties that are accessible through the inspector.
Curve
The curve type for the path is one of the following values:
The curve may be selected using feature selection. Click the button to begin selecting a curve from the mesh. Hover over the curve you want to select and then left-click to confirm the selection. You can right-click while hovering over the curve to negate the direction. Once you’ve selected a curve, it will be automatically converted to one of the curve types listed above. Note that the curve may also be specified programmatically using the TypeScript API.
Axis Unlock
The flags specify the axes about which the attached body is allowed to rotate. Please note that multiple axes can be unlocked:
- Tangent: The attached body is permitted to rotate freely about the tangent to the curve.
- Normal: The attached body is permitted to rotate freely about the normal to the curve.
- Bitangent: The attached body is permitted to rotate freely about the bitangent to the curve.
Limits
The limits for the path. You may specify a lower and/or upper limit for the path.