BakkesMod Wiki
Advertisement

This is the wiki page for the console command:

ball

The ball command can provide information about the ball location and rotation. It also allows manipulation of the current location, rotation, velocity, and angular velocity of the ball.

Usage[]

Retrieve information[]

To use the command to get information about the current location and rotation, open the console and type

ball

Location is given in game coordinates (unreal units). Rotation is given in Euler angles 16-bit integers -32768 = -pi to 32767 ≈ pi.

Manipulate state[]

Location[]

To change the ball location, type

ball location X Y Z

Replace X, Y, and Z with the desired coordinates in game units (unreal units). Unlike the retrieval of the location, this is 100% accurate.

Rotation[]

To change the ball rotation, type

ball rotation Pitch Yaw Roll

Replace Pitch, Yaw, and Roll with the desired euler angles scaled in 16-bit integers, -32768 = -pi to 32767 ≈ pi.

Linear Velocity[]

To change the ball velocity, type

ball velocity X Y Z

Replace X, Y, and Z with the desired velocity in game units (unreal units / second). 6000 uu/s is the maximum total velocity of the ball.

Angular Velocity[]

To change the ball angular velocity, type

ball angularvelocity X Y Z

Replace X, Y, and Z with the desired angular velocity in rad/s. 6 rad/s is the maximum total angular velocity of the ball.

Freeze[]

To freeze the ball in place and remove all angular and linear velocity, type

ball stop
Advertisement