Component:CapsuleCollider: Difference between revisions

From Resonite Wiki
mNo edit summary
add to component stubs, categorize
Line 1: Line 1:
{{Infobox Component
|Image=CapsuleCollider.png
|Name=Capsule Collider
}}
The CapsuleCollider component creates a simple capsule collision shape from the defined height and radius.
The CapsuleCollider component creates a simple capsule collision shape from the defined height and radius.


Line 15: Line 19:


* The CapsuleCollider is used in [[Locomotion Modules (Slot)|Locomotion Modules]] to represent the player's width and height.
* The CapsuleCollider is used in [[Locomotion Modules (Slot)|Locomotion Modules]] to represent the player's width and height.
[[Category:ComponentStubs]]
[[Category:Components]]
[[Category:Components:Physics:Colliders]]

Revision as of 17:35, 14 February 2024

Component image 
Capsule Collider component as seen in the Scene Inspector

The CapsuleCollider component creates a simple capsule collision shape from the defined height and radius.

Fields

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.
Offset Float3
Type ColliderType
Mass Float
CharacterCollider Bool
IgnoreRaycasts Bool
Height Float
Radius Float

Examples

  • The CapsuleCollider is used in Locomotion Modules to represent the player's width and height.