camSetRelPos: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
HateR Kint (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
will place the _camera 10 metres to the right of the target, 15 metres directly in front of the target and 5 metres above the target. Use negative numbers to place the camera behind or to the left of the target. | will place the _camera 10 metres to the right of the target, 15 metres directly in front of the target and 5 metres above the target. Use negative numbers to place the camera behind or to the left of the target. | ||
'''Notes:''' The location of the camera will depend on the direction the target object is facing. | |||
The camera does not bank with the target (bug?). |
Revision as of 16:36, 27 July 2006
camera camSetRelPos position
Operand types:
camera: Object
position: Array
Type of returned value:
Description:
Set camera position relative to current position of current target (see camSetTarget).
Does not commit changes.
Example:
_camera camSetRelPos [10, 15, 5]
will place the _camera 10 metres to the right of the target, 15 metres directly in front of the target and 5 metres above the target. Use negative numbers to place the camera behind or to the left of the target.
Notes: The location of the camera will depend on the direction the target object is facing. The camera does not bank with the target (bug?).