The '''DebugSphereRaycast''' component is used to show a bunch of raycasts in a spherical shape and their hit normals and positions.
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.
{{Note|When using this component, you will feel lag.|warning}}
{{Note|When using this component, you will feel lag.|warning}}
Line 9:
Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Direction|Float3|
|Direction|Float3| the direction and distance the raycast should go.
|Radius|Float| How far the raycasts created should go.
|Radius|Float| How far the raycasts created should go.
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.