Jump to content

controlling the first person camera


Recommended Posts

I'm about at a wits end trying to position the camera relative to a subject.

 

1. I have tried spawning a "cameraman" NPC - this I can position how I want, but I am unable to get first person view through their eyes:

 

Game.SetCameraTarget(CameraNPCRef)

Game.ForceThirdPerson() ; this works, but it gives me a distant camera centered around the "cameraman" - is it possible to get the camera closer to it?

Game.ForceFirstPerson() ; this doesn't work, whatever I've tried

 

2. I have tried positioning the PC relative to the subject, but whenever I use:

 

setposition

translateto

moveto

 

... on the PC, I get a loading screen, then either it CTDs, or it teleports me to a totally different cell 

 

 

So - is it possible either to have first person view for another NPC, or position the PC (without falling) somewhere else without crashing?

 

Thank you!

Link to comment

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use