I’m trying to dynamically create an Actor to be my camera’s relative “using a c# script” but I don’t know if this is possible, my intuition was that the code below would work.
// start
Actor cameraCenter = new Actor();
cameraCenter.Parent = Actor;
cameraCenter.LocalPosition = new Vector3(0, 0.5f, 0);
Actor cameraPivot = new Actor();
cameraPivot .Parent = cameraCenter;
cameraPivot .LocalPosition = new Vector3(0, 0, -3f);
cameraPivot.LocalOrientation = Quaternion.Identity;
MyCamera.Parent = cameraPivot;
MyCamera.LocalPosition = Vector3.Zero;
// update
cameraCenter.Center.Orientation = Quaternion(<mouseY>, <mouseX>, 0);
MyCamera.LookAt(<lookat>)