Archived

This topic is now archived and is closed to further replies.

Amadrias

Cameras Update

Recommended Posts

Amadrias    122
Hi, I wondered if I change PR_CAMERA->rotation values and/or change PR_CAMERA->target values in a CAMFLAG_AIM_TARGET initialized PR_CAMERA, everything will be updated correctly. If I change rotation, do I have to also change target ? Thanks, Amadrias

Share this post


Link to post
Share on other sites
ChrisE    184
There is really only one camera type, which is AIM_TARGET. If the ANGLE_BASED type is used, a target is generated based on the rotation values.

Changing the rotation with an AIM_TARGET camera won''t do anything. Changing the target location will though. Remember to call PR_SetActiveCamera after changing anything in the camera structure.

Share this post


Link to post
Share on other sites