Component:ConeCollider: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Cone Collider
|Name=Cone Collider
}}
}}
{{stub}}
This component represents a pointed circular cone collider given a height and a base radius.


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Offset|Float3|
|Offset|Float3| {{Template:ColliderOffsetField}}
|Type|ColliderType|
|Type|ColliderType| {{Template:ColliderTypeField}}
|Mass|Float|
|Mass|Float| {{Template:ColliderMassField}}
|CharacterCollider|Bool|
|CharacterCollider|Bool| {{Template:ColliderCharacterColliderField}}
|IgnoreRaycasts|Bool|
|IgnoreRaycasts|Bool| {{Template:ColliderIgnoreRaycastsField}}
|Height|Float|
|Height|Float| The height of the cone collider from base to tip.
|Radius|Float|
|Radius|Float| The radius of the base of the cone collider.
}}
}}


Line 24: Line 24:
[[Category:Components:Physics:Colliders{{#translation:}}|Cone Collider]]
[[Category:Components:Physics:Colliders{{#translation:}}|Cone Collider]]
[[Category:Components{{#translation:}}|Cone Collider]]
[[Category:Components{{#translation:}}|Cone Collider]]
[[Category:ComponentStubs]]

Latest revision as of 20:35, 14 October 2024

Component image 
Cone Collider component as seen in the Scene Inspector

This component represents a pointed circular cone collider given a height and a base radius.

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.
Offset Float3 The offset of the collider shape's position from the slot's position.
Type ColliderType The type of collider. See the enum page for details.
Mass Float How heavy this collider is in total. according to ProbablePrime this is in 1 KG per cubic meter.
CharacterCollider Bool Whether an avatar should be prevented from moving into the collider's volume.
IgnoreRaycasts Bool Whether an avatar's laser should be prevented from hitting the collider's volume. Also this applies to raycasting nodes or components.
Height Float The height of the cone collider from base to tip.
Radius Float The radius of the base of the cone collider.

Behavior

Examples

See Also