MCPcopy Create free account
hub / github.com/ByteArena/box2d / RayCast

Method RayCast

CollisionB2Shape.go:73–73  ·  view source on GitHub ↗

Cast a ray against a child shape. @param output the ray-cast results. @param input the ray-cast input parameters. @param transform the transform to be applied to the shape. @param childIndex the child shape index

(output *B2RayCastOutput, input B2RayCastInput, transform B2Transform, childIndex int)

Source from the content-addressed store, hash-verified

71 /// @param transform the transform to be applied to the shape.
72 /// @param childIndex the child shape index
73 RayCast(output *B2RayCastOutput, input B2RayCastInput, transform B2Transform, childIndex int) bool
74
75 /// Given a transform, compute the associated axis aligned bounding box for a child shape.
76 /// @param aabb returns the axis aligned box.

Callers 4

RayCastMethod · 0.65
RayCastMethod · 0.65
RayCastMethod · 0.65
RayCastMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected