Automated: create new component page |
m typo |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|Name=Dynamic Bone Sphere Collider | |Name=Dynamic Bone Sphere Collider | ||
}} | }} | ||
The dynamic bone sphere collider is a component that allows for making a static sphere collider by adding it to the list of <code>StaticColliders</code> on a [[Component:DynamicBoneChain|DynamicBoneChain]] or make it dynamic by making it part of the <code>Colliders</code> list on a [[Component:DynamicBonePlayerColliders|DynamicBonePlayerColliders Component]] | |||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Radius|Float| | |Radius|Float| The radius of the sphere created by this component in local space of the [[Slot]] it is made on. | ||
}} | }} | ||
Line 13: | Line 13: | ||
== Examples == | == Examples == | ||
This component can be used with a [[Component:RaycastDriver|RaycastDriver]] to make a huge sphere under the ground that can act as a floor. Then adding this component to the list of static colliders on a [[Component:DynamicBoneChain|DynamicBoneChain]] allows for fake collisions with the floor, so tails, wings, chains, and cloth tassles won't clip through the ground on avatars. | |||
== See Also == | == See Also == |
Latest revision as of 15:59, 1 May 2024
Component image
The dynamic bone sphere collider is a component that allows for making a static sphere collider by adding it to the list of StaticColliders
on a DynamicBoneChain or make it dynamic by making it part of the Colliders
list on a DynamicBonePlayerColliders Component
Usage
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. |
Radius
|
Float | The radius of the sphere created by this component in local space of the Slot it is made on. |
Behavior
Examples
This component can be used with a RaycastDriver to make a huge sphere under the ground that can act as a floor. Then adding this component to the list of static colliders on a DynamicBoneChain allows for fake collisions with the floor, so tails, wings, chains, and cloth tassles won't clip through the ground on avatars.