Commit Graph

117 Commits

Author SHA1 Message Date
Wojtek Figat
57628c3d5f Refactor Bezier splines drawing and editing to property evaluate value and match curve evaluation
#3051
2024-12-02 19:10:28 +01:00
Wojtek Figat
c67385ef80 Merge branch 'prefab-physics-draw' of https://github.com/Tryibion/FlaxEngine into Tryibion-prefab-physics-draw 2024-08-15 15:26:19 +02:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Chandler Cox
3140865780 Add physics and lights debug drawing in prefabs when enabled. 2024-08-06 17:06:23 -05:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
Wojtek Figat
ccd619f659 Merge branch 'simplemove_gravity' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-simplemove_gravity 2024-07-18 12:26:06 +02:00
35d46e23a8 Fix CharacterController::SimpleMove gravity displacement handling 2024-07-13 16:39:22 +03:00
Chandler Cox
7b4e509140 Fix mesh collider not rotating correctly due to negative scale. 2024-07-11 18:44:55 -05:00
7614481d78 Fix PhysicsMaterial not updating in Colliders after asset reload 2024-06-08 19:24:13 +03:00
Wojtek Figat
f6aabf2d14 Optimize navmesh building and reduce scene lock time 2024-05-09 18:58:47 +02:00
Wojtek Figat
9e54827cb3 Cleanup code #2213 2024-03-19 20:13:41 +01:00
Wojtek Figat
911251cb20 Merge branch 'unit-formatting' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-unit-formatting
# Conflicts:
#	Source/Editor/CustomEditors/Editors/ActorTransformEditor.cs
#	Source/Editor/Options/InterfaceOptions.cs
#	Source/Engine/Core/Math/Transform.h
2024-03-19 18:04:01 +01:00
92c109c003 Fix PhysicsScene change not working in physics actors 2024-03-10 00:01:39 +02:00
Wojtek Figat
41cff47ca3 Revert "Merge branch 'Tryibion-rot-colliders'" (#1141)
This reverts commit 73cb792989, reversing
changes made to b4fe3a44aa.
2024-03-07 23:24:40 +01:00
Wojtek Figat
b4fe3a44aa Merge branch 'rot-colliders' of https://github.com/Tryibion/FlaxEngine into Tryibion-rot-colliders
# Conflicts:
#	Source/Engine/Physics/Colliders/CapsuleCollider.cpp
#	Source/Engine/Physics/Colliders/Collider.cpp
2024-03-04 20:12:32 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
621281ab3a Merge branch 'coll-resize-orient' of https://github.com/Tryibion/FlaxEngine into Tryibion-coll-resize-orient 2024-02-20 11:07:12 +01:00
Wojtek Figat
056deb58ad Fix compilation in #2257 2024-02-19 17:48:18 +01:00
envision3d
a5a16c3192 Fix issue with CharacterController initialization 2024-02-18 20:32:32 -06:00
Wojtek Figat
37dfdad7e2 Minor improvements to character controller
#1935
2024-02-17 20:22:40 +01:00
Wojtek Figat
85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +01:00
Wojtek Figat
7538296775 Refactor PhysicalMaterial usage to utilize JsonAssetReference struct 2024-02-15 11:45:50 +01:00
nothingTVatYT
a0741dd9de units for quaternion, transform and more collider values 2024-01-29 08:24:55 +01:00
nothingTVatYT
ef41ad6074 add units to transform editor, some collider values 2024-01-29 07:34:58 +01:00
Chandler Cox
f1d6d71f6c Get unrotated bounded box to rotate. 2024-01-10 13:53:22 -06:00
Chandler Cox
361cb914f3 Keep local orientation on collider spawn. Add option to keep orientation when resizing collider. 2024-01-10 11:42:49 -06:00
Wojtek Figat
b87a7d16fb Move managed code into native impl for #2063 2023-12-14 11:03:58 +01:00
Chandler Cox
a6caa9dbfa Remove unused includes 2023-12-02 12:03:30 -06:00
Chandler Cox
73d33e4af0 Refactor Physics Colliders to use auto serialization. 2023-12-02 12:01:32 -06:00
Wojtek Figat
f6645e5600 Add debug drawing contact offset for selected collider
#1728
2023-11-07 09:56:33 +01:00
Wojtek Figat
6648481d12 Improve various doc comments to be more usable as tooltips in Editor 2023-11-07 00:57:18 +01:00
Wojtek Figat
87a9dedba4 Refactor default ContactOffset for Collider to be 2 (keep 10 for CharacterController)
#1728
2023-11-07 00:56:55 +01:00
Wojtek Figat
a4312590e7 Fix debug draw leftover from 9da686cd52
#1369 #1365
2023-09-10 13:34:46 +02:00
Wojtek Figat
9da686cd52 Improve #1369 for #1365 2023-09-10 11:58:54 +02:00
Ruan Lucas
fc7c24f771 Fix for #1365 2023-09-07 11:33:16 -04:00
Wojtek Figat
f552dd0c28 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-10 23:29:22 +02:00
Chandler Cox
4849a49ba4 Limits character controller up direction between (-1, 1) 2023-05-31 21:43:15 -05:00
Chandler Cox
c4c55bfb61 Fix compilation errors 2023-05-31 11:28:26 -05:00
Chandler Cox
2607e0e187 Add ability to rotate colliders and add collider direction for capsule collider. 2023-05-31 10:38:33 -05:00
Wojtek Figat
5bf645252f Fix crash due to typo in Character Controller 2023-03-20 18:55:41 +01:00
Wojtek Figat
aad2ff51fc Fix default value for BoxCollider 2023-02-13 22:35:32 +01:00
Wojtek Figat
e02c4b6f98 Fix using Center property on Character Controller
#904
2023-02-06 20:22:52 +01:00
Wojtek Figat
b71665ae0d Fix Up Direction default value for Character Controller 2023-02-06 17:47:48 +01:00
Wojtek Figat
29815e0dd6 Merge branch 'actor-org' of https://github.com/Tryibion/FlaxEngine into Tryibion-actor-org 2023-01-24 19:20:23 +01:00
Chandler Cox
e21c8e5fe9 Organize physics actors a little better in CM, added wheeled vehicle to list. minor change in CM to not add actors that have a parent with the attribute (more selective). 2023-01-22 18:52:28 -06:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
cfffc76aa6 Fix potential crash 2022-12-02 10:04:46 +01:00
Wojtek Figat
76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
Chandler Cox
4515844219 changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute 2022-11-11 16:37:45 -06:00