Posted by CogKing on February 13, 1998 at 12:33:57:
In Reply to: Camera Positions posted by fiXXXer on February 13, 1998 at 09:40:35:
> How do I set the camera position to whatever I want? Can I just create an object in what position the camera should be, attach it to the player and then set the camera position to that object (like in Max's cog)? How would I create an object 2 meters above the player's head?
> Or is there a specific command to set the camera position using vectors and the like?
Just create a camera, or actually create a ghost and set the camera on it.
You can attach it to the player if you want. You can use CreateThingAtPos()
to create something at a specific position. You can offset the position in Z
just by using vector maths (VectorScale, VectorNorm, VectorAdd)...
Be careful that CreateThingAtPos() expects a valid sector, and that a sector
2 meters above the player's head is not necessarily the same sector as the
player's.
-CogKing