Component:DynamicBonePlayerColliders: Difference between revisions

From Resonite Wiki
add some info
add last info
 
Line 8: Line 8:
{{Table ComponentFields
{{Table ComponentFields
|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.
|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| Whether to not use the default head collider made by the engine.
|DisableDefaultBodyColliders|Bool|
|DisableDefaultBodyColliders|Bool| Whether to not use the body colliders made by the engine.
|DisableDefaultLeftHandColliders|Bool|
|DisableDefaultLeftHandColliders|Bool| Whether to not use the left hand collider made by the engine.
|DisableDefaultRightHandColliders|Bool|
|DisableDefaultRightHandColliders|Bool| Whether to not use the right hand collider made by the engine.
|Colliders|{{RootFieldType|SyncRefList`1|[[Type:IDynamicBoneCollider|IDynamicBoneCollider]]}}|TypeAdv5=true| A list of colliders to enable collision for all Dynamic bone chains in a world.
|Colliders|{{RootFieldType|SyncRefList`1|[[Type:IDynamicBoneCollider|IDynamicBoneCollider]]}}|TypeAdv5=true| A list of colliders to enable collision for all Dynamic bone chains in a world.
}}
}}
Line 22: Line 22:


== See Also ==
== See Also ==
* [[Component:DynamicBoneChain]]


[[Category:Components:Physics:Dynamic Bones{{#translation:}}|Dynamic Bone Player Colliders]]
[[Category:Components:Physics:Dynamic Bones{{#translation:}}|Dynamic Bone Player Colliders]]
[[Category:Components{{#translation:}}|Dynamic Bone Player Colliders]]
[[Category:Components{{#translation:}}|Dynamic Bone Player Colliders]]
[[Category:ComponentStubs]]

Latest revision as of 17:20, 24 December 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 Whether to not use the default head collider made by the engine.
DisableDefaultBodyColliders Bool Whether to not use the body colliders made by the engine.
DisableDefaultLeftHandColliders Bool Whether to not use the left hand collider made by the engine.
DisableDefaultRightHandColliders Bool Whether to not use the right hand collider made by the engine.
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