MCPcopy Create free account
hub / github.com/OpenEnroth/OpenEnroth / CollideBodyWithFace

Function CollideBodyWithFace

src/Engine/Graphics/Collisions.cpp:269–313  ·  view source on GitHub ↗

* Helper function that performs several collision checks between both the "feet" and the "head" spheres of the * collision state, and the provided face. * * @param face Face to check. * @param face_pid Pid of the provided face. * @param ignore_ethereal Whether ethereal faces should be ignored by this function. * @param model_idx

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CollideOutdoorWithModelsFunction · 0.85

Calls 3

CollideSphereWithFaceFunction · 0.85
signedDistanceToMethod · 0.80
centerMethod · 0.45

Tested by

no test coverage detected