(3 intermediate revisions by the same user not shown)
Line 3:
Line 3:
|Name=Debug Sphere Raycast
|Name=Debug Sphere Raycast
}}
}}
{{stub}}
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}}
== Usage ==
{{Template:Debug}}
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Direction|Float3|
|Direction|Float3| the direction and distance the raycast should go.
|Radius|Float|
|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.
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.