Modifier

Partager via


JointKinematicBody Class

Definition

Updates a rigidbody transform against another transform.

public ref class JointKinematicBody : UnityEngine::MonoBehaviour
public class JointKinematicBody : UnityEngine.MonoBehaviour
type JointKinematicBody = class
    inherit MonoBehaviour
Public Class JointKinematicBody
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
JointKinematicBody

Constructors

JointKinematicBody()

Properties

HandednessType

What hand this component lives on.

Joint

The joint this component tracks.

JointType

What joint this component lives on.

OnDisableAction

An event to subscribe to when the component get's disabled. Useful for tacking when the joint loses tracking.

OnEnableAction

An event to subscribe to when the component get's enabled. Useful for tacking when the joint loses tracking.

Methods

UpdateState(Boolean)

Updates the position of the JointKinematicBody based on JointType.

Applies to