Jump to content

controlling first person camera


SAC020

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
Share on other sites

  • Recently Browsing   0 members

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