When the Vehicle turns to the right the Camera of the Player dont turns with the Character, how can i change the Orientation of the Camera with the Player without changing the current Orientation?
Could you maybe provide a video of this and the corresponding code?
Am not too sure what you exactly want,
But try to change the CameraType to Attach.
Code:
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Attach
Does not work
You can use this for changing between the actual player’s camera to the car’s camera and setting the logic the way you’d like to.
I already have the Camera connected to the Part of the Vehicle but how can the Camera Orient with the Vehicle
By setting the camera subject to that camera
I did that already, its not turning with the Vehicle
Could you show us the script so we could have something to help you with?
LookVector
.
local LookVector = Character.PrimaryPart.CFrame.LookVector
Camera.CFrame = Camera.CFrame * CFrame.Angles(LookVector.X, LookVector.Y, LookVector.Z)
Scriptable
, thats the only one you can script with
Change it to Enum.CameraType.Attach
should be what you want.
But i dont want a fixed CFrame, your scripts is right if the Vehicle turns the Camera is also turning to the right but it should not change the current Orientation, when the Vehicle drives forward and the Camera is looking to the right side and the Vehicle is turning to the left the Camera should also orient to the left but should continue looking to the right side
Not working