Look at point in 3d

Started by
1 comment, last by GameDev.net 24 years, 5 months ago
Yes...
When you initialize the camera use the CAMFLAG_AIM_TARGET mode...

Gary

Advertisement
Hi,
I want to make a character that look to a point (x,y,z). Like Tombraider and Grim Fandango.
And if I move the point, the character move his/her head always looking the point.
Is there some code or ideas about it using PRender?

Thanks in advance.

Leo.

I think you may find what your looking for in the terrain demo. There is a camera in it that follows the player ship.

This topic is closed to new replies.

Advertisement