Site Tools


scripting:doc:u:camera:setorbitmode

Camera::setOrbitMode

(GameBase orbitObject, transform mat, float minDistance, float maxDistance, float curDistance, bool ownClientObject)Set the camera to orbit around some given object.

@param orbitObject Object we want to orbit. @param mat A set of fields: posX posY posZ aaX aaY aaZ aaTheta @param minDistance Minimum distance to keep from object. @param maxDistance Maximum distance to keep from object. @param curDistance Distance to set initially from object. @param ownClientObj Are we observing an object owned by us?

Syntax

void Camera::setOrbitMode(GameBase %orbitObject, transform %mat, float %minDistance, float %maxDistance, float %curDistance[, bool %ownClientObject]);

Parameters

GameBase %orbitObject
No description available.

transform %mat
No description available.

float %minDistance
No description available.

float %maxDistance
No description available.

float %curDistance
No description available.

[optional] bool %ownClientObject
No description available.

Return value

void
No description available.

Remarks

Examples

Source

Engine

See also

References

This function is not called by any other functions.

scripting/doc/u/camera/setorbitmode.txt · Last modified: by 127.0.0.1