Archived

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

Cameras Update

This topic is 5821 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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