MoveIgnoreFirstBlockingOverlap

Typically we want to depenetrate regardless of direction, so we can get all the way out of penetration quickly.

Choose your operating system:

Windows

macOS

Linux

Syntax

int32 MoveIgnoreFirstBlockingOverlap

Remarks

Typically we want to depenetrate regardless of direction, so we can get all the way out of penetration quickly. Our rules for "moving with depenetration normal" only get us so far out of the object. We'd prefer to pop out by the full MTD amount. Depenetration moves (in ResolvePenetration) then ignore blocking overlaps to be able to move out by the MTD amount.