Component:CapsuleCollider: Difference between revisions

From Resonite Wiki
m 989onan moved page CapsuleCollider (Component) to Component:CapsuleCollider: Misspelled title
Automated: update Categories
Line 21: Line 21:


[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components]]
[[Category:Components:Physics:Colliders{{#translation:}}|Capsule Collider]]
[[Category:Components:Physics:Colliders]]
[[Category:Components{{#translation:}}|Capsule Collider]]

Revision as of 20:58, 3 March 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.