Box2D.Dynamics.Fixture.Raycast C# (CSharp) Method

Raycast() public method

Cast a ray against this shape.
public Raycast ( RayCastOutput output, RayCastInput input, int childIndex ) : bool
output Box2D.Collision.RayCastOutput the ray-cast results.
input Box2D.Collision.RayCastInput the ray-cast input parameters.
childIndex int
return bool
        public bool Raycast(RayCastOutput output, RayCastInput input, int childIndex)
        {
            return Shape.Raycast(output, input, Body.Xf, childIndex);
        }