I have the OrbitCamera in a Stride Scene. Now I want to choose some nice camera positions and store them in Kairos timeline, so that I can fade between them. Like in a 3D app: Moving the camera, keyframe the position.
This sounds incredibly simple. But I’m even failing when trying to copy the camera’s InverseMatrix ¯_(ツ)_/¯… (not sure if that’s the right approach though…)
The easier route is to decompose the matrix and use the position and rotation separately.
The trickier path might be to get the 16 matrix values as a spread, fade between the spreads merge the result back into a matrix.
For the road least traveled would be to register a matrix type, make and register a lerp operation for it and work directly with that type on the timeline. Given how matrices transform in mysterious ways if you directly lerp between the 16 matrix values, I’d go for the former.
Thanks for your fast reply, storing Position and Rotation makes definitly more sense, yes.
Now I have to figure out how to copy-paste the values into Kairos or record single frames them there…
Hi sadly you need quite extra work, here, the waypoint camera i did for some project…
The idea you have CameraManger you position your camera and dump that to json, then you can parse json and smooth switch between stored position… there are few issues, like it would hitch if position changes before previous position was hit… Was planning to release it in more user friendly way, but never had time to do so…