Christopher Rothert
997c442e69
Update movement speed formatting
...
* add property for movement speed text format
* add additional checks to camera speed progress calculation
* round movement speed to make it visually more appealing in the context menu
2023-10-08 01:07:36 +02:00
Christopher Rothert
00aa54cde8
Update camera speed stepping and easing
...
* remove complex curve function
* update camera easing feature to use Mathf.Pow instead
* add total camera speed steps to ViewportOptions
* change default value for max camera speed from 64 to 32
* update ViewportOptions ordering and grouping
* update string format for movement speed
2023-10-07 02:40:52 +02:00
Christopher Rothert
fd94cfb469
Update how camera settings widget is displayed
...
* add option to force a certain text width to ViewportWidgetButton
* force camera settings widget to fit longest possible speed value
* changed displayed camera speed using string.Format
* changed some lines to always correctly display the camera speed
* switched from Mathf.Clamp to Mathf.Saturate for values between 0 and 1
2023-10-05 20:04:09 +02:00
Christopher Rothert
3a9fdd8b52
Add possibility to disable camera easing
...
* add camera easing setting to camera settings widget
* add camera easing default setting to ViewportOptions
* update some settings in ViewportOptions
2023-10-05 13:10:02 +02:00
Christopher Rothert
4b78d5e39e
Orthographic/perspective mode toggle
...
Note: missing dedicated icon!
2023-10-04 23:30:51 +02:00
Christopher Rothert
1f2d665654
Add camera speed easing based on Mathf.InterpEaseInOut
...
* change camera move speed method to use easing curve
* add methods for inversion of Mathf.InterpEaseInOut (might have better alternative)
* add setting for easing curve degree in ViewportOptions
* update camera speed adjustments to use easing curve
* remove unused camera speed values array
* update some comments and namings
2023-10-04 23:30:51 +02:00
Christopher Rothert
ccf37e9d68
Add saving and loading of cached values for camera settings
...
* remove "Default" from all settings in ViewportOptions as they are shown in the "Defaults" group anyway
2023-10-04 23:30:51 +02:00
Christopher Rothert
a280ce3dc7
Add reset button to camera settings widget
2023-10-04 23:30:51 +02:00
Christopher Rothert
4f93a0d9c9
Add default camera settings to editor options
...
* update ViewportOptions to include new default camera settings
* update existing default settings in ViewportOptions
* extract viewport options setup into own method
* initialize new camera settings with default settings in EditorViewport
2023-10-04 23:30:50 +02:00
Christopher Rothert
67536f04e9
Improve camera panning
...
* add camera panning speed option to camera settings context menu
* add relative panning speed based on distance to camera target to camera settings context menu
* add relative panning option to camera settings context menu
* fix float comparisons
* remove invert panning entry from view widget
* remove unused show/hide method for camera widget
2023-10-04 23:30:50 +02:00
Christopher Rothert
3dcd1a5ffb
Improve viewport camera settings
...
* remove fixed camera speed buttons from camera speed scale widget
* change camera speed scale widget to general camera settings widget
* move all camera-related settings from view mode widget to camera settings widget
* fix some typo
* add possibility to set camera speed manually
* add min/max camera speed options
2023-10-04 23:30:50 +02:00
Wojtek Figat
1838c7bba7
Minor cleanup
2023-10-04 23:21:40 +02:00
Wojtek Figat
a6e9637442
Merge branch 'editor-font' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-font
2023-10-04 23:15:29 +02:00
Wojtek Figat
fd679f0af5
Add automatic game settings apply when saving json file in Editor
...
#1440
2023-10-04 23:11:38 +02:00
Chandler Cox
b586b5fe41
Ensure editor font is sent as something.
2023-10-04 15:57:28 -05:00
Wojtek Figat
d1c0900ad7
Fix potential error when loading Guid from Json
2023-10-04 22:38:06 +02:00
Wojtek Figat
92f677f238
Codestyle formatting #1522
2023-10-04 22:25:27 +02:00
Wojtek Figat
2e6fa8fc25
Merge branch 'Visject-ContextSensitiveNodes' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ContextSensitiveNodes
2023-10-04 22:15:31 +02:00
Wojtek Figat
7777f73c26
Fix warning
2023-10-04 20:20:35 +02:00
Wojtek Figat
f46cc32715
Cleanup code #1115
2023-10-04 20:15:23 +02:00
Wojtek Figat
c46303018e
Merge branch 'material_import' of https://github.com/Menotdan/FlaxEngine into Menotdan-material_import
2023-10-04 19:59:42 +02:00
Wojtek Figat
f2a3338dce
Improve #859
2023-10-04 19:58:10 +02:00
Wojtek Figat
8811c9cda0
Merge branch 'game-window-focus-issue' of https://github.com/Tryibion/FlaxEngine into Tryibion-game-window-focus-issue
2023-10-04 19:02:18 +02:00
Wojtek Figat
1dcad007c7
Merge branch 'launchsettings_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-launchsettings_fix
2023-10-04 18:57:50 +02:00
Wojtek Figat
cbbe730d22
Merge branch 'particle_update_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-particle_update_fix
2023-10-04 18:56:49 +02:00
Wojtek Figat
a5374920bd
Merge branch 'import_mesh_with_collision_type_as_convex' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-import_mesh_with_collision_type_as_convex
2023-10-04 17:39:39 +02:00
Wojtek Figat
bd14790628
Merge branch 'pugixml_extra' of https://github.com/Arcnor/FlaxEngine into Arcnor-pugixml_extra
2023-10-04 17:36:55 +02:00
Wojtek Figat
f1d57e47cb
Fix regression in some context menus on Windows due to recent changes to windows showing after first paint
2023-10-04 17:34:14 +02:00
Wojtek Figat
fe9b6d73a8
Fix build regression from b3b6251c10
2023-10-04 16:54:50 +02:00
Wojtek Figat
bed736a8ee
Add support for importing embedded textures via Assimp importer
...
#669
2023-10-04 15:16:10 +02:00
Edu Garcia
f1600b3014
Move custom pugixml changes to pugixml_extra
2023-10-04 13:14:06 +01:00
Wojtek Figat
d68c65d9d6
Fix build regression from 9fa709aa79
2023-10-04 13:50:15 +02:00
Wojtek Figat
a009afc1a3
Merge branch 'windows-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-windows-fix
2023-10-04 13:37:04 +02:00
Wojtek Figat
569a8eb538
Merge branch 'game-set-open' of https://github.com/Tryibion/FlaxEngine into Tryibion-game-set-open
2023-10-04 13:35:21 +02:00
Wojtek Figat
9bfc5f5daa
Merge branch 'skinned-box-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-skinned-box-fix
2023-10-04 13:34:25 +02:00
Wojtek Figat
d2531273e6
Merge branch 'master' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-master
2023-10-04 13:33:10 +02:00
Wojtek Figat
25e1c3deaf
Merge branch 'restore_message_clearer' of https://github.com/Menotdan/FlaxEngine into Menotdan-restore_message_clearer
2023-10-04 13:28:40 +02:00
Wojtek Figat
9fa709aa79
Fix importing skinned models with meshes that don't have valid skinning to properly link into the node's bone
...
#1525
2023-10-04 12:42:11 +02:00
Wojtek Figat
46353365da
Fix missing debug shapes drawing when skeleton node gets selected
...
#1220
2023-10-04 10:24:36 +02:00
Wojtek Figat
52b9a995ad
Fix bone Offset Matrix from fbx when using root RotationMatrix
...
#1525
2023-10-04 10:01:17 +02:00
Wojtek Figat
b3b6251c10
Add GlobalInfo parsing to OpenFBX
...
#1525
2023-10-04 09:47:48 +02:00
Chandler Cox
c6bd989744
Add Game Settings open button to menu.
2023-10-03 22:47:13 -05:00
Chandler Cox
b5d927baa5
Force windows window to be correct size when restoring window on maximize from minimize.
2023-10-03 16:22:43 -05:00
Wojtek Figat
68a713fb95
Fix model importer to use precomputed Offset Matrix for skeletal model bones
...
#1525
2023-10-03 22:30:58 +02:00
Wojtek Figat
4e83a0a757
Fix potential exception in drag and drop handling
2023-10-03 22:20:44 +02:00
Chandler Cox
b948152a41
Simplify
2023-10-03 09:40:46 -05:00
36b1dc1452
Fix particle effects not working properly at high framerate
2023-10-03 17:38:21 +03:00
Chandler Cox
9fbc51a22a
Add back in fixed margin code.
2023-10-03 09:21:27 -05:00
Chandler Cox
d6861696a5
Simplify.
2023-10-03 09:17:52 -05:00
Chandler Cox
60ac0a8196
Fix box changes from animations.
2023-10-03 08:25:05 -05:00