Hello
I was not going to do this but my favorite car has the wrong camera position and angle.
First of, i am working on mod that involves driving handling and game modes.
Now i have decided to include good vehicle models with nice mirrors and ENB graphics modification, this car i am working on has all of the above but the camera is way of.
Is there a quick way to attach the World.CreateCamera to the head?
I have it attached to the Entity it is floating above the player and not turning, it is stuck in 1 position.
Here is the code i use.
Camera NewCamera = World.CreateCamera(GameplayCamera.Position, GameplayCamera.Rotation, CustomCam.fov);
World.RenderingCamera = NewCamera;
Vector3 _offset = Game.Player.Character.GetPositionOffset(GameplayCamera.Position);
NewCamera.AttachTo(Game.Player.Character, _offset);