Tweaks the logic to how the editor handles toggling and setting of camera modes to behave more consistently, allow for initializing the camera into another mode(like 3rd person), and properly toggling back and forth between the standard cam and whatever the other last camera mode was.

Also adds callbacks so gamemodes/modules can provide custom camera modes.
This gives more control and integration of specialty camera types so it doesn't have to fight the editor's handling of camera modes/toggles.
This commit is contained in:
JeffR 2026-05-14 15:39:47 -05:00
parent 30ce3de8f0
commit dc65e80c34
6 changed files with 121 additions and 19 deletions

View file

@ -13,6 +13,7 @@ new ScriptObject( VerveEditorPlugin )
function VerveEditorPlugin::onWorldEditorStartup( %this )
{
return; //disabled for now
//----------------------------------------------------------------------
//
// Editor Toggles