Commit Graph

313 Commits

Author SHA1 Message Date
Chandler Cox
d969a7f8b0 Add more physics settings. 2023-08-26 15:17:45 -05:00
Wojtek Figat
32d9067710 Fix build 2023-07-19 09:08:17 +02:00
Wojtek Figat
07ef07e979 Merge remote-tracking branch 'origin/1.7' into 1.7
# Conflicts:
#	Source/Engine/Physics/Actors/Cloth.cpp
2023-07-17 18:27:31 +02:00
Wojtek Figat
5012d4432e Add NvCloth for Linux 2023-07-17 18:22:40 +02:00
Wojtek Figat
3d5d7ad968 Don't recook cloth mesh when rebuilding it 2023-07-17 15:34:38 +02:00
Wojtek Figat
868084286c Add automatic cloth rebuild when simulation fails with NaN 2023-07-17 15:17:22 +02:00
Wojtek Figat
1af076f180 Add distance-based and frustum-based culling to cloth 2023-07-17 11:16:01 +02:00
Wojtek Figat
10d9942e8f Add async pre-sim update for cloth via job system 2023-07-16 22:39:56 +02:00
Wojtek Figat
2046eca45a Add NvCloth fabric reusing for multiple instances of the same cloth mesh 2023-07-16 14:40:11 +02:00
Wojtek Figat
e075a1c6aa Run cloth simulation in async via job system 2023-07-16 12:59:18 +02:00
Wojtek Figat
adfaf8c961 Don't update cloth colliders every frame 2023-07-16 12:53:59 +02:00
Wojtek Figat
9179586f14 Fix cloth painting in prefab window 2023-07-16 12:36:38 +02:00
Wojtek Figat
31943ca9bd Add normals computing to cloth mesh 2023-07-16 12:02:33 +02:00
Wojtek Figat
2645b69ec0 Tweak air lif/drag coeffs to properly simulate wind on cloth 2023-07-14 17:10:28 +02:00
Wojtek Figat
aef3ae14d4 Add animated model pose handling as a input to cloth for proper character clothing sim 2023-07-14 17:10:09 +02:00
Wojtek Figat
3f9e286279 Fix crash when creating cloth with all vertices fixed 2023-07-14 14:12:30 +02:00
Wojtek Figat
b1056e160a Add debug sanity checks to cloth to solve issues 2023-07-14 13:36:44 +02:00
Wojtek Figat
24c03c0e4b Add cloth painting tools to Editor 2023-07-13 23:30:37 +02:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
53ee65a5a6 Add thickness to cloth to prevent intersecting with colliders 2023-07-03 14:13:35 +02:00
Wojtek Figat
f81989a171 Add **Cloth** simulation with physics 2023-07-03 10:38:36 +02:00
Ruan Lucas
45a1d33689 fix orientation 2023-06-28 09:56:15 -04:00
Ruan Lucas
76e4e1b8d4 fix debug vehicle wheel orientation 2023-06-27 21:08:12 -04:00
Wojtek Figat
694f8fbaf3 Fix missing collision events generated during CharacterController::Move
#1200
2023-06-23 22:22:50 +02:00
Wojtek Figat
329a6ce0ef Increase PhysX allocation limit to 1GB
#1176
2023-06-15 10:07:30 +02:00
Wojtek Figat
8f7da81621 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Flax.flaxproj
#	Source/Editor/Content/Items/AssetItem.cs
2023-06-13 15:41:07 +02:00
Wojtek Figat
f1c98320fc Refactor vehicles to use Z axis as forward instead of X
#1050
2023-06-13 14:56:03 +02:00
Wojtek Figat
f552dd0c28 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-10 23:29:22 +02:00
Wojtek Figat
f9251e41a4 Merge branch 'limit-cc-up' of https://github.com/Tryibion/FlaxEngine into Tryibion-limit-cc-up 2023-06-09 13:54:52 +02:00
Wojtek Figat
0476251638 Improve line cast math and code style fix #1147 2023-06-09 13:53:26 +02:00
Ruan Lucas
e32f4d5f8c add LineCastAll 2023-06-03 13:52:50 -04:00
Ruan Lucas
eda4def35b add linecast with hit info 2023-06-03 13:39:10 -04:00
Ruan Lucas
ac0cf01404 add simple linecast to physics 2023-06-03 13:25:29 -04: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
d13c722ce3 Optimize text formatting in various places 2023-05-09 13:44:32 +02:00
Wojtek Figat
390460907d Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
#	Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Wojtek Figat
37032810c9 Fix collision data cooking from model asset by favoring CPU data fetching 2023-04-22 18:15:49 +02:00
Wojtek Figat
5bf645252f Fix crash due to typo in Character Controller 2023-03-20 18:55:41 +01:00
Wojtek Figat
34629d46f3 Add **Physics Statistics and profiler** 2023-03-13 12:31:51 +01:00
Wojtek Figat
60f21d1a92 Update old copyright headers 2023-03-03 17:14:35 +01:00
Wojtek Figat
a26d0d03eb Upgrade to PhysX 5.1.3 2023-03-03 17:13:46 +01:00
Wojtek Figat
fb06fa2c8b Add optional build without PhysX 2023-02-27 23:01:10 +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
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00