CodeBase - Object Positioning Relative to a Camera
Return to the CodeBase listing
Category: Camera
Version: 1.071
Information
Uploaded: 19th Jan 2009 20:20
Modified: 1st Jan 1970 01:00
Author: Kira Vakaan
Summary
Use this function to position and rotate an object relative to a camera's position and rotation.
Full Description
Syntax:<br /> OrbitCamera(Camera,Object,XDist#,YDist#,ZDist#,XAng#,YAng#,ZAng#,ZDepthFlag)<br /> <br /> Camera - The number of the camera to reposition the object around<br /> Object - The number of the object to reposition<br /> XDist#, YDist#, ZDist# - The new X, Y, and Z positions of the object relative to the camera's position and rotation<br /> XAng#, YAng#, ZAng# - The new X, Y, and Z angles of the object relative to the camera's rotation
Comments
No comments yet.