Component:DebugSphereRaycast

From Resonite Wiki
Revision as of 18:43, 18 January 2025 by 989onan (talk | contribs) (add info)
Component image 
Debug Sphere Raycast component as seen in the Scene Inspector

The DebugSphereRaycast component is used to show the multiple hit normals (1 per collider) of a sweep raycast of a sphere. This essentially acts as a fat raycast, which has thickness. Unfortunately this raycast is only for Debug purposes. Is simulated on the host machine.

When using this component, you will feel lag.

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. Some components stop their functionality when this field is disabled, but some don't.
Direction Float3 the direction and distance the raycast should go.
Radius Float How far the raycasts created should go.

See Also