(2 intermediate revisions by one other user not shown)
Line 3:
Line 3:
|Name=Rig
|Name=Rig
}}
}}
{{stub}}
The '''Rig''' component is used to inform what bones are "Rig" bones for components like [[Component:DynamicBoneChain|Dynamic Bone Chains]].
Rig is a component that is used to inform what bones are "Rig" bones for components like [[Component:DynamicBoneChain|Dynamic Bone Chains]].
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Bones|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv0=true| The bones that are a part of the item this component is on.
|Bones|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv0=true| The bones that are a part of the item this component is on.
}}
}}
== Behavior ==
== Sync Delegates ==
{{Table ComponentTriggers
|CleanupBoneColliders:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cleanup bone colliders button is touched.
|GenerateDebugVisual:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the generate debug visuals button is touched.
|ClearDebugVisual:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the clear debug visuals button is touched.