CharacterJoint

class in UnityEngine

/

Inherits from:Joint

Switch to Manual

Description

Character Joints are mainly used for Ragdoll effects.

Character Joints в основном используется для Ragdoll эффектов. Они представляют собой расширенное шарообразное соединение, который позволяет вам ограничить соединение на каждой оси.

Variables

enableProjectionBrings violated constraints back into alignment even when the solver fails.
highTwistLimitВерхний предел вокруг первичной оси character joint.
lowTwistLimitНижний предел вокруг первичной оси character joint.
projectionAngleSet the angular tolerance threshold (in degrees) for projection.
projectionDistanceSet the linear tolerance threshold for projection.
swing1LimitНижний предел вокруг первичной оси character joint.
swing2LimitНижний предел вокруг первичной оси character joint.
swingAxisВторичная ось, вокруг которой соединение может вращаться.
swingLimitSpringThe configuration of the spring attached to the swing limits of the joint.
twistLimitSpringThe configuration of the spring attached to the twist limits of the joint.

Inherited members

Variables

gameObjectИгровой объект к которому прикреплён данный компонент. Компонент всегда прикреплён к игровому объекту.
tagТег данного игрового объекта.
transformThe Transform attached to this GameObject.
anchorПозиция якоря, вокруг которого сустав вынужден двигаться.
autoConfigureConnectedAnchorДолжен ли connectedAnchor рассчитываться автоматически?
axisНаправление осей, вокруг которых тело вынуждено двигаться.
breakForceСила, требуемая для разрыва данного сустава.
breakTorqueThe torque that needs to be applied for this joint to break. To be able to break, a joint must be _Locked_ or _Limited_ on the axis of rotation where the torque is being applied. This means that some joints cannot break, such as an unconstrained Configurable Joint.
connectedAnchorПозиция якоря относительно присоединенного Rigidbody.
connectedBodyСсылка для подсоединения данного сустава к другому твердому телу.
connectedMassScaleThe scale to apply to the inverse mass and inertia tensor of the connected body prior to solving the constraints.
currentForceThe force applied by the solver to satisfy all constraints.
currentTorqueThe torque applied by the solver to satisfy all constraints.
enableCollisionВключенная коллизия между телами подсоединяется суставом.
enablePreprocessingToggle preprocessing for this joint.
massScaleThe scale to apply to the inverse mass and inertia tensor of the body prior to solving the constraints.
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameThe name of the object.

Public Functions

BroadcastMessageВызывает метод названный methodName на каждом MonoBehaviour этого game object-а или любого из его потомков.
CompareTagПомечен ли данный игровой объект тегом tag?
GetComponentВозвращает компонент типа type, если он прикреплен к игровому объекту и null, если не прикреплен.
GetComponentInChildrenВозвращает компонент типа type в GameObject или некоторого его потомка через поиск в глубину.
GetComponentInParentВозвращает все компоненты типа type из GameObject'а или из любого его родителя.
GetComponentsВозвращает все компоненты типа type в GameObject.
GetComponentsInChildrenВозвращает все компоненты типа type в GameObject или любому из его потомков.
GetComponentsInParentВозвращает все компоненты типа type в GameObject или любому из его родителей.
SendMessageВызывает метод с названием methodName в каждом MonoBehaviour в этом игровом объекте.
SendMessageUpwardsВызывает метод с именем methodName в каждом MonoBehaviour в этом игровом объекте и в каждом предке поведения.
GetInstanceIDReturns the instance id of the object.
ToStringReturns the name of the object.

Static Functions

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeReturns the first active loaded object of Type type.
FindObjectsOfTypeReturns a list of all active loaded objects of Type type.
InstantiateClones the object original and returns the clone.

Operators

boolDoes the object exist?
operator !=Compares if two objects refer to a different object.
operator ==Compares two object references to see if they refer to the same object.

Messages

OnJointBreakВызывается при разрушении сустава, прикрепленного к такому же игровому объекту.