MechanismAspectFindCreateJointT Method |
Attempts to find the joint that connects the specified base visual to the specified
effector visual. If no existing joint exists then attempts to create a new joint of the
specified type bound to links containing the specified visuals.
Namespace: Demo3D.Visuals.KJEAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic T FindCreateJoint<T>(
Visual visual,
Visual baseVisual
)
where T : new(), KinematicJoint
Parameters
- visual Visual
- The effector visual.
- baseVisual Visual
- The base visual (specify null for ground).
Type Parameters
- T
- The type of kinematic joint.
Return Value
TExisting or new joint bound to links that contain the specified visuals.
See Also