Shards632
1 year agoMHCP Mentor
v204 typescript updates
v204 typescript updates:
- various minor documentation updates/refinements
- Player.rotation property comments clarify it to be just the head rotation in world coords
- Player.rootRotation read/write property! You can now rotate the player
- this rotates the whole player, not their head
- you can only rotate around the Y axis, so player always remains upright
- Player.setGripPoseAnimationByName() now takes PlayerGripPoseAnimationOptions
- callback - a callback called when animation state changes
- returns an AnimationCallbackReason of Starting or Stopping
- callback - a callback called when animation state changes
- PanCameraMode got some additional properties (that seemed missing last week to work with then new Camera.getCameraModeObjectAs<T> api)
- positionOffset - offset from target its looking at
- translationSpeed - update tracking speed