|
@@ -8,7 +8,7 @@
|
|
|
>[!Note]
|
|
>[!Note]
|
|
|
>Raycasting uses **colliders** to calculate intersections. It ignores entities that have no collider component. For more information, see [Colliders](colliders.md).
|
|
>Raycasting uses **colliders** to calculate intersections. It ignores entities that have no collider component. For more information, see [Colliders](colliders.md).
|
|
|
|
|
|
|
|
-To use a raycast, in the current [Simulation](xref:Stride.Physics.Simulation), use [Simulation.Raycast](xref:Stride.Physics.Simulation.Raycast(Vector3, Vector3, CollisionFilterGroups, CollisionFilterGroupFlags, bool)).
|
|
|
|
|
|
|
+To use a raycast, in the current [Simulation](xref:Stride.Physics.Simulation), use [Simulation.Raycast](xref:Stride.Physics.Simulation.Raycast(Stride.Core.Mathematics.Vector3,Stride.Core.Mathematics.Vector3,Stride.Physics.CollisionFilterGroups,Stride.Physics.CollisionFilterGroupFlags,System.Boolean,Stride.Physics.EFlags)).
|
|
|
|
|
|
|
|
For an example of raycasting, see the **Physics Sample** project included with Stride.
|
|
For an example of raycasting, see the **Physics Sample** project included with Stride.
|
|
|
|
|
|