跳转到内容

cameraGroundBasis

此内容尚不支持你的语言。

cameraGroundBasis(yawDeg): object

Defined in: gameplay/ThirdPersonCamera.ts:102

The ground-plane basis the player’s input is read in, for a camera at this yaw. PITCH IS ABSENT on purpose: forward is where the player looks ALONG the ground, so an eye angled steeply down still walks the character across the floor rather than into it.

number

object

forward: Vec3

right: Vec3