Package-level declarations

Types

Link copied to clipboard
data class DirectionalInput(val forwards: Boolean, val backwards: Boolean, val left: Boolean, val right: Boolean)

Functions

Link copied to clipboard
fun findEdgeCollision(from: Vec3, to: Vec3, allowedDropDown: Float = 0.5f): Vec3?
Link copied to clipboard
fun getDegreesRelativeToView(positionRelativeToPlayer: Vec3, yaw: Float = RotationManager.currentRotation?.yaw ?: player.yRot): Float

Returns the yaw difference the position is from the player position

Link copied to clipboard
fun getDirectionalInputForDegrees(directionalInput: DirectionalInput, dgs: Float, deadAngle: Float = 20.0f): DirectionalInput
Link copied to clipboard
fun LocalPlayer.stopXZVelocity()