2023.1.116.1 Double Kinematics Controller
Overview
The Kinematics Controller is responsible for managing and updating all contained Kinematic Joints in the correct order (taking both priority and kinematic relationships into account). For it to work, the Kinematics Controller needs to placed in the hierarchy above any joints it should control. After creation the Controller will automatically manage the contained joints.
Generally it is good practice to use one single Kinematics Controller in your scene for all your joints. Using multiple Controllers is possible, but may lead to undesirable behavior.
Hierarchy view with Kinematics Controller and two Wheel Joints. Note that the wheel joints are children of the Kinematics Controller
Where to find
The DKinematics Controller can be found in the Prespective menu under Mechanics > Kinematics > Add Kinematics Controller
If no Game Object in the scene hierarchy was selected when this menu option is chosen it will create a new Game Object; alternatively it will add the Kinematics Controller component to the selected Game Object
Feature Layout
The image below shows the complete feature layout of the DKinematics Controller component.
Kinematics Controller Settings |
|
---|---|
Execute in Editor Mode | On by default. If this toggle is set true Kinematic behavior (Limits and Relationships) will also be enacted outside play mode in the Unity Editor. The DKinematics Controller runs on the Unity Fixed Update within play mode, and on a custom update cycle outside play mode |
Kinematic Bodies |
|
Kinematic Bodies | List with the kinematic bodies found as children- and controlled by the kinematics controller. The content of this list is automatically controlled in- and outside play mode. The Priority and Enforce Outside Play mode values can be edited. |
Sort By: | Sorts the Kinematic Relations either by: Pass Priority, Type or Enforced Outside Play Mode |
Prespective Documentation