Rotating the player reference

Post » Tue May 17, 2011 2:53 am

Hello everyone,

I am trying to rotate the player by the Z axis with the cursor facing at the same point at all times.

I have tried

player.rotate


and

player.setAngle


but they change the way you are facing as well.

Does anyone know of a way to "unlock" the camera?

The effect I am looking for is similar to when you hold "F".
User avatar
SHAWNNA-KAY
 
Posts: 3444
Joined: Mon Dec 18, 2006 1:22 pm

Post » Tue May 17, 2011 9:01 am

Animations can do it for both 1st and 3rd -> there are some game settings that can rotate the players 3rd person view but if you do not perfectly reset these they will become permanently saved into the save game.
User avatar
Alexandra Ryan
 
Posts: 3438
Joined: Mon Jul 31, 2006 9:01 am

Post » Tue May 17, 2011 9:39 am

I have tried the fOverShoulderOffsetPoint "X,Y,Z" gamesettings as well as the fOverShoulderPos "X,Y,Z" none of them rotates the player along the "Z" axis. All I can get is to move the mouse cursor across the screen plane, as it's done in your OTS Camera mod.

There, I noticed you used PosX and PosZ, so I tried PosY and although it compiles, it doesn't work. Am I missing something?
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Tue May 17, 2011 8:26 am

Hello everyone,

I am trying to rotate the player by the Z axis with the cursor facing at the same point at all times.

I have tried

player.rotate


and

player.setAngle


but they change the way you are facing as well.

Does anyone know of a way to "unlock" the camera?

The effect I am looking for is similar to when you hold "F".



If the point is a reference maybe you can force the player to head-track it as you rotate the player.
http://geck.gamesas.com/index.php/Look
User avatar
marie breen
 
Posts: 3388
Joined: Thu Aug 03, 2006 4:50 am


Return to Fallout 3