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.
Parameters
Section titled “Parameters”yawDeg
Section titled “yawDeg”number
Returns
Section titled “Returns”object
forward
Section titled “forward”forward:
Vec3
right:
Vec3