Camera
This page describes camera API methods
Last updated
This page describes camera API methods
Last updated
cameraSet(player,vec3,vec3)
Lock camera to position
cameraUnlock(player)
Unlocks the camera to be returned back to player
cameraTargetPlayer(player, player)
Camera spectates player
cameraTargetVehicle(vehicle, vehicle)
Camera spectates vehicle
cameraTargetUnset(player)
Camera will stop spectating entities
Type
Description
player
Player ID
vec3
Position
vec3
Direction
Type
Description
player
Player ID
Type
Description
player
Player ID
player
Spectated Player
Type
Description
vehicle
Vehicle ID
vehicle
Spectated Vehicle
Type
Description
player
Player ID