|
WHAT IS 3D RAD? CLICK HERE TO FIND OUT!
|
|
|
Joint
Link objects together to form physics-law-obeying systems as simple as a pendulum or as complex as a ragdoll!
Joint's rotational limits can be set and angular forces can be defined to simulate motors and advanced mechanisms.
Direction and orientation of the joint can be visually set in the Virtual Editor.
Working At Start
If this option is not checked, the junction will be enabled only when the Joint
object is started by another object, like for example
EventOnInput.
In this case, the joint location will be relative to the reference object (see Relationships, below).
That is, while the application point for the reference object is the relative
location you defined in the Virtual Editor, for the second object (body B),
the application point will depend on object's location at the time of Joint activation.
Angular limits (degs)
For each local axis of the Joint object (red arm is +X, green is +Y, blue is +Z) you can define
the rotational limits, in degrees.
Setting these limits to -180 and +180 actually disables the stop.
NOTE: due to simulation limitations, you may not be able to completely block rotations about all
axes by setting rotational limits alone.
The recommended workaround is using three Joint objects with no rotational limits set instead.
NOTE: rotational limits have no effect if one of the two linked objects is static
(infinite total mass, see RigidBody).
NOTE: rotational limits make the simulation more complex to compute and therefore
may affect frame-rate on slower computers.
Important!
Joint stops simulation is based on Euler angles math and therefore it has the following limitation:
you cannot set Z-axis limits below -90 or above 90, unless X-axis limits or Y-axis limits (or both)
are zero. Failing to do so may severely disrupt the simulation.
Strength/hardness
These two parameters determine the behavior of the stop (see Angular limits, above).
The bigger the strength factor, the stronger the stop.
A strong stop will resist torques more than a weak stop.
By default, stop strength is 40000 (very strong).
The bigger the hardness factor, the harder the stop.
A soft stop will 'absorb' torques in a spongy way.
By default, stop hardness is 150000 (very hard).
You can achieve soft stops by setting both strength and hardness
to lower values (for example 5.0 and 0.01 respectively).
Joint motors
You can apply a torque to the linked objects, about each local axis of the Joint object.
The spin factor is the reference angular velocity
the motor will try to reach and keep, in degrees per second.
The torque factor is the angular force applied to reach and keep the specified spin.
Setting this value to zero actually disables the motor.
NOTE: motors have no effect if one of the two linked objects is static
(infinite total mass, see RigidBody).
Relationships
This list defines how the Joint object relates to the objects linked to it.
The following relationship types are supported:
IGNORE. Do nothing.
BODY A (REFERENCE). Attach the joint to this object.
The orientation and location of the joint will always be relative to this object.
BODY B. The second object to attach the joint to.
NOTE: Specifying more than one single object as body A or more than one single object as body B is not recommended.
Resulting behavior is undefined.
The remaining controls are common to all objects.
They are explained here.
INTERNAL PARAMETERS
The following internal parameters can be accessed by using event objects like
EventOnValue or Script:
Motor's spin, about joint's X axis
Motor's spin, about joint's Y axis
Motor's spin, about joint's Z axis
|
|