When using the battle camera in a grid battle (in another scene), I'd like to change it's position so that when selecting a cell/target the battle camera is re-positioned to be above the target cell looking down.
There's quite a few camera options in ORK so I've been poking through trying to find a setup that works close to what I'm after. I've noticed that if I set the battle camera to something like, "Look" for example, the camera will look at the targeted cell when it's selected. Is there a way to grab the event object so I can move the camera?
I've tried making my own script inherited from ORKFramework.Behaviours.BaseCameraControl
and overriding public override void CameraTargetChanged(GameObject oldTarget, GameObject newTarget)
, then putting that script on the main camera in the battle scene but the method doesn't get called.
Now the CameraTargetChanged() method gets called.
Still, open to any suggestions on other ways to do this.
See this how-to on custom controls for details.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!