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

Method RayCast

DynamicsB2Fixture.go:173–175  ·  view source on GitHub ↗
(output *B2RayCastOutput, input B2RayCastInput, childIndex int)

Source from the content-addressed store, hash-verified

171}
172
173func (fix B2Fixture) RayCast(output *B2RayCastOutput, input B2RayCastInput, childIndex int) bool {
174 return fix.M_shape.RayCast(output, input, fix.M_body.GetTransform(), childIndex)
175}
176
177func (fix B2Fixture) GetMassData(massData *B2MassData) {
178 fix.M_shape.ComputeMass(massData, fix.M_density)

Callers

nothing calls this directly

Calls 2

RayCastMethod · 0.65
GetTransformMethod · 0.45

Tested by

no test coverage detected