Click or drag to resize
PhysicsWorldRaycast Method (Vector3, Vector3, Boolean)
Perform a raycast test and return colliding results.

Namespace:  GeonBit.Core.Physics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public RaycastResults Raycast(
	Vector3 start,
	Vector3 end,
	bool returnNearest = true
)

Parameters

start
Type: Vector3
Start ray vector.
end
Type: Vector3
End ray vector.
returnNearest (Optional)
Type: SystemBoolean
If true, will only return the nearest object collided.

Return Value

Type: RaycastResults

[Missing <returns> documentation for "M:GeonBit.Core.Physics.PhysicsWorld.Raycast(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Boolean)"]

See Also