Component:DynamicBonePlayerColliders: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add some info
 
Line 3: Line 3:
|Name=Dynamic Bone Player Colliders
|Name=Dynamic Bone Player Colliders
}}
}}
{{stub}}
This component is used in the Resonite hair dryer, and allows for dynamic bone colliders specified in the <code>Colliders</code> list to automatically collide with [[Component:DynamicBoneChain|Dynamic Bone Chains]].


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|VisualizeColliders|Bool|
|VisualizeColliders|Bool| Visualize all the colliders in <code>Colliders</code> that are currently colliding against a Dynamic Bone Chain. Automatically updates the collider visuals every frame server side.
|DisableDefaultHeadColliders|Bool|
|DisableDefaultHeadColliders|Bool|
|DisableDefaultBodyColliders|Bool|
|DisableDefaultBodyColliders|Bool|
|DisableDefaultLeftHandColliders|Bool|
|DisableDefaultLeftHandColliders|Bool|
|DisableDefaultRightHandColliders|Bool|
|DisableDefaultRightHandColliders|Bool|
|Colliders|{{RootFieldType|SyncRefList`1|[[Type:IDynamicBoneCollider|IDynamicBoneCollider]]}}|TypeAdv5=true|
|Colliders|{{RootFieldType|SyncRefList`1|[[Type:IDynamicBoneCollider|IDynamicBoneCollider]]}}|TypeAdv5=true| A list of colliders to enable collision for all Dynamic bone chains in a world.
}}
}}


== Behavior ==
== Behavior ==
Only works while the component has an active user.


== Examples ==
== Examples ==
This component is used in the Resonite hair dryer.


== See Also ==
== See Also ==

Latest revision as of 17:05, 16 April 2024

Component image 
Dynamic Bone Player Colliders component as seen in the Scene Inspector

This component is used in the Resonite hair dryer, and allows for dynamic bone colliders specified in the Colliders list to automatically collide with Dynamic Bone Chains.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
VisualizeColliders Bool Visualize all the colliders in Colliders that are currently colliding against a Dynamic Bone Chain. Automatically updates the collider visuals every frame server side.
DisableDefaultHeadColliders Bool
DisableDefaultBodyColliders Bool
DisableDefaultLeftHandColliders Bool
DisableDefaultRightHandColliders Bool
Colliders list of IDynamicBoneCollider A list of colliders to enable collision for all Dynamic bone chains in a world.

Behavior

Only works while the component has an active user.

Examples

This component is used in the Resonite hair dryer.

See Also