MLBoneDynamics
info
MLBoneDynamics inherits from Behaviour
MLBoneDynamics apply physics to character's bones or joints. The component must attach to the root game object of the avatar.
Members
Methods
Name | Description |
---|---|
MLBoneDynamics .SetMultiThread(value) | Enable/disable multithread to improve physics simulation performace. Default is true. |
MLBoneDynamics .SetWeight(w) | Control how physics blend with existing animation. |
MLBoneDynamics .UpdateParameters() | Update parameters at runtime, call this funtion after modifing parameters. |
Inherited Members
Inherited Properties
Name | Description |
---|---|
MLBoneDynamics .enabled | Enabled Behaviours are Updated, disabled Behaviours are not. |
MLBoneDynamics .isActiveAndEnabled | Has the Behaviour had active and enabled called? |
MLBoneDynamics .gameObject | The game object this component is attached to. A component is always attached to a game object. |
MLBoneDynamics .tag | The tag of this game object. |
MLBoneDynamics .transform | The Transform attached to this GameObject. |
MLBoneDynamics .hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
MLBoneDynamics .name | The name of the object. |
Inherited Methods
Name | Description |
---|---|
MLBoneDynamics .BroadcastMessage(methodName, parameter=nil) | Calls the method named methodName on every Lua Script in this game object or any of its children. |
MLBoneDynamics .CompareTag(tag) | Is this game object tagged with tag ? |
MLBoneDynamics .GetAllLuaScripts() | Returns an array of all Lua scripts that attached to the game object. |
MLBoneDynamics .GetComponent(type) | Returns the component of Type type if the game object has one attached, nil if it doesn't. |
MLBoneDynamics .GetComponentInChildren(t) | Returns the component of Type type in the GameObject or any of its children using depth first search. |
MLBoneDynamics .GetComponentInParent(t) | Returns the component of Type type in the GameObject or any of its parents. |
MLBoneDynamics .GetComponents(type) | Returns all components of Type type in the GameObject. |
MLBoneDynamics .GetComponentsInChildren(t) | Returns all components of Type type in the GameObject or any of its children. |
MLBoneDynamics .GetComponentsInParent(t) | Returns all components of Type type in the GameObject or any of its parents. |
MLBoneDynamics .SendMessage(methodName, value=nil) | Calls the method named methodName on every Lua Script in this game object. |
MLBoneDynamics .SendMessageUpwards(methodName, value=nil) | Calls the method named methodName on every LuaScript in this game object and on every ancestor of the behaviour. |
MLBoneDynamics .TryGetComponent(type) | Gets the component of the specified type, if it exists. |
MLBoneDynamics .GetInstanceID() | Returns the instance id of the object. |