auto-git:
[change] src/runtime-three/third-person-navigation-controller.ts
This commit is contained in:
@@ -22,8 +22,10 @@ import {
|
|||||||
type RuntimePlayerClimbSurface
|
type RuntimePlayerClimbSurface
|
||||||
} from "./player-climbing";
|
} from "./player-climbing";
|
||||||
import {
|
import {
|
||||||
|
resolvePlayerLedgeGrabTarget,
|
||||||
resolvePlayerEdgeAssistTopOut,
|
resolvePlayerEdgeAssistTopOut,
|
||||||
shouldAttemptPlayerEdgeAssist
|
shouldAttemptPlayerEdgeAssist,
|
||||||
|
type RuntimePlayerLedgeGrabTarget
|
||||||
} from "./player-edge-assist";
|
} from "./player-edge-assist";
|
||||||
import {
|
import {
|
||||||
createIdleRuntimeLocomotionState,
|
createIdleRuntimeLocomotionState,
|
||||||
@@ -128,6 +130,10 @@ function toEyePosition(feetPosition: Vec3, eyeHeight: number): Vec3 {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function dotPlanarVec3(left: Vec3, right: Vec3): number {
|
||||||
|
return left.x * right.x + left.z * right.z;
|
||||||
|
}
|
||||||
|
|
||||||
function cloneRuntimePlayerMovement(
|
function cloneRuntimePlayerMovement(
|
||||||
movement: RuntimePlayerMovement
|
movement: RuntimePlayerMovement
|
||||||
): RuntimePlayerMovement {
|
): RuntimePlayerMovement {
|
||||||
|
|||||||
Reference in New Issue
Block a user