Can i set an actors transfrom in real time

I currently have a vehicle that switches between 2 cameras, one is third person that is controlled by mouse input so the user can look freely around the vehicle. And the other is a static camera in-vehicle (First person mode) but one problem is that when i switch from third person to first and back to third again, the third person camera is in its same position (rotation angle) and this is awkward for when i look one direction and then turn a corner and its still facing in that direction

My question is, can i reset the third person camera’s spring arm component to a default when i switch between cameras in real-time

basically like the Grand theft auto car cameras were they switch back to a default position real-time.

You can get the component (in this case you’d want the springarm) on the Actor and move it freely, if that is what you are asking? The transform is not static.

If you want it to always be relative to the direction the pawn is facing, you can set the InheritPitch/Yaw/Roll properties (you likely just want to set Inherit Yaw), and set the rotation to be relative. Look in the CameraSettings group on the SpringArm.