auto-git:
[change] src/runtime-three/player-edge-assist.ts
This commit is contained in:
@@ -309,7 +309,7 @@ export function resolvePlayerLedgeGrabTarget(options: {
|
|||||||
const topOutHeight = standFeetPosition.y - options.feetPosition.y;
|
const topOutHeight = standFeetPosition.y - options.feetPosition.y;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
topOutHeight <= minLedgeHeight + VECTOR_EPSILON ||
|
topOutHeight <= options.pushToTopHeight + VECTOR_EPSILON ||
|
||||||
topOutHeight > maxLedgeHeight + VECTOR_EPSILON ||
|
topOutHeight > maxLedgeHeight + VECTOR_EPSILON ||
|
||||||
!options.canOccupyShape(standFeetPosition, options.shape)
|
!options.canOccupyShape(standFeetPosition, options.shape)
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user