I have a base of source code, going back to the beginning, of changing where a camera is “pointed” by assigning the x/y/z of rotation
.
Neither of my sources were “vetted” by typescript though:
- a Blender python addon to generate JS source code
- a component of my animation system to move/rot/scale
BABYLON.Node
objects. Lights usedirection
, so<BABYLON.Vector3> this._node[this._rotationProperty]
is what is lerped.
I now have a need to rotate a TargetCamera
, but rotation
is not a valid property according to Typescript. I searched source hierarchy, TargetCamera/Camera/Node, and have not found either.
Along the way I tried to set cameraDirection
, but not working & has side effects.