Creates a JointInput object, which is the API equivalent to the Joint command dialog. You you use methods and properties on the returned class to set the desired options, similar to providing input and setting options in the Joint command dialog. Once the settings are defined you call the Joints.add method passing in the JointInput object to create the actual joint.
"joints_var" is a variable referencing a Joints object.
|
"joints_var" is a variable referencing a Joints object.
|
Type | Description |
JointInput | Returns the JointInput object or null if the creation failed. |
Name | Type | Description |
geometryOrOriginOne | Base | A JointGeometry or JointOrigin object that defines the first set of geometry of the joint. JointGeometry objects are created by using the various static methods on the JointGeometry class and JointOrigin objects are created through the JointOrigins object. |
geometryOrOriginTwo | Base | A JointGeometry or JointOrigin object that defines the second set of geometry of the joint. JointGeometry objects are created by using the various static methods on the JointGeometry class and JointOrigin objects are created through the JointOrigins object. |
Name | Description |
BallJointMotion API Sample | Demonstrates creating a joint with ball joint motion |
CylindricalJointMotion API Sample | Demonstrates creating a joint with cylindrical joint motion. |
Joint API Sample | Demonstrates creating a new joint. |
Pin Slot Joint Motion API Sample | Demonstrates creating a joint with pin slot joint motion |
Planar Joint Motion API Sample | Demonstrates creating a joint with planar joint motion |
RevoluteJointMotion API Sample | Demonstrates creating a joint with revolute joint motion. |
SliderJointMotion API Sample | Demonstrates creating a joint with slider joint motion. |