[Dir3d-l] Camera follow Havok rigid body?

Drake webmail at rabidlab.com
Tue Aug 1 18:22:29 EDT 2006


On Aug 1, 2006, at 4:57 PM, <briencrean at eircom.net>  
<briencrean at eircom.net> wrote:

> Hi list,
>
> Im relatively new to Director 3d and Havok. Im trying to get a  
> camera to follow a sphere (which is Havok movableRigidBody) like a  
> character in a 3D platformer.

If you just want to stick the camera at a constant offset from the  
character, it should be as simple as getting the character's position  
each frame, adding your offset vector(0,10,40), and setting your  
camera's position to that result.

- Drake




More information about the Dir3d-l mailing list