Click or drag to resize
PhysicsWorldRaycast Method (Vector3, Vector3, BasePhysicsComponent)
Perform a raycast test and return colliding results, while ignoring 'self' object.

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,
	BasePhysicsComponent self
)

Parameters

start
Type: Vector3
Start ray vector.
end
Type: Vector3
End ray vector.
self
Type: GeonBit.ECS.Components.PhysicsBasePhysicsComponent
Physical body to ignore.

Return Value

Type: RaycastResults

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

See Also