Commit Graph

12 Commits (d15cbdbbc84d35fb6b6f02fdedb87d0967e19c2b)

Author SHA1 Message Date
Tom Hulton-Harrop 74a2735766
Add better support for mouse deltas with camera system (#846)
* add better support for mouse deltas with camera system

* small fixes spotted during review

* rename after review feedback

* small refactor to reduce duplication
5 years ago
Tom Hulton-Harrop eb31d90ad9
Updates to fix BoxSelect when using Orbit with the new Camera (#825)
* update camera controller to block box select during orbit

* simplify update for modern viewport camera controller

* wip working lmb box select with orbit

* add test for changes to click detector

* add unit test for camera system to validate events

* remove debugging code, tidy-up changes for PR

* small updates before posting PR

* fix for linux build failure
5 years ago
Tom Hulton-Harrop f4106fe73f
Add 'Goto entity' support for the new Editor camera (#743)
* add find entity in viewport functionality to new camera

* fix AZ_CVAR usage

* updates following review feedback

- updated comment styles from /// to //!
- retrieve fov of camera (add test for fov access)

* update namespace naming, fix AZ_CVAR usage

* update missed namespace and use AZ::Transform::CreateLookAt

* add missing include

* move EditorViewportSettings to EditorLib

* update DLL import/export API and rename namespace usage
5 years ago
Tom Hulton-Harrop b5e5a3bfee
More camera fixes for the new CameraInput system (#667)
* use new ViewportContext interface to set camera transform on load

* WIP fixes for camera viewport handler callbacks

* disable synchonization with old camera when new camera system is enabled

* further updates to camera-input

* ensure event is signalled when camera transform is set

* updates to ModernViewportCameraController

* fix for right click menu appearing with camera

* updates following review feedback

* convert std:: usage to AZStd::
5 years ago
nvsickle 7c9053fffc Move ModernViewportCameraController controller list into EditorViewportWidget 5 years ago
hultonha 36d502b560 update controls for camera and move settings to cfg file 5 years ago
hultonha 14fc356d6e add animation camera behaviour to new controller (WIP) 5 years ago
hultonha 9568cdd0f2 fix color drawing 5 years ago
hultonha 16b16706b5 add logic to convert matrix3x3 to euler angles 5 years ago
hultonha 7d96fcdf1f updates to fix camera behaviour 5 years ago
hultonha 64e06c3010 more updates to camera code 5 years ago
alexpete c5b955d281 Integrating github/staging through commit b0dd7ed 5 years ago