Player Location On Placement
constructor(position: Vec3 = player.position(), pose: Pose = player.pose, rotation: Rotation = RotationManager.serverRotation, movingHorizontally: Boolean = player.input.keyPresses.anyHorizontal)
Parameters
position
the player's position (on placement)
pose
the player's pose (on placement)
rotation
the rotation to aim from. Target finding keeps the rotation change minimal relative to it
moving Horizontally
whether the player moves horizontally (on placement)