Component:DebugSphereRaycast

From Resonite Wiki
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.
This game element is a debug item. Elements like this may be removed at any time without warning, and creations should not rely on it.

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