cameratranslatetarget
Jump to navigation
Jump to search
The cameratranslatetarget
script command is used to target position offset for a Camera. Cameras can be set to rotate to track a target entity and path. This command allows configuring an offset for the target's position that the camera should be rotated towards. This offset is reset to 0 0 0
when setting a new target using the settarget
command.
Usage
cameratranslatetarget <dx*> <dy*> <dz*>
Context: Cameras
Parameters:
Parameter | Type | Description |
---|---|---|
dx |
number or variable |
Value to add to the target's x position |
dy |
number or variable |
Value to add to the target's y position |
dz |
number or variable |
Value to add to the target's z position |