Commit Graph

46 Commits

Author SHA1 Message Date
Wojtek Figat
682ff2fb3a Minor tweaks 2023-09-13 10:52:46 +02:00
Wojtek Figat
6bdbaecc18 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-13 10:29:28 +02:00
Wojtek Figat
c10658c3fc Fix deserialization, add more docs and tweaks to #1345 2023-09-12 13:50:22 +02:00
Wojtek Figat
1591da75ac Merge branch 'physics-settings' of https://github.com/Tryibion/FlaxEngine into Tryibion-physics-settings 2023-09-12 13:03:04 +02:00
6278fea496 Optimize PhysX collision event handling and onContact callback 2023-09-02 23:04:35 +03:00
Wojtek Figat
6a5e660c2e Merge remote-tracking branch 'origin/master' into 1.7 2023-09-02 19:02:52 +02:00
Wojtek Figat
36dca16991 Fix WheeledVehicle driving in Drive4W mode when wheels are in custom order
#1352
2023-09-01 13:43:36 +02:00
Wojtek Figat
5a8944a82d Add support for editing WheeledVehicle engine/differential config at runtime without full physics state rebuild
#1348
2023-09-01 12:52:01 +02:00
Wojtek Figat
b0ec8525aa Add support for editing WheeledVehicle wheels config at runtime without full physics state rebuild
#1324
2023-09-01 12:40:51 +02:00
Wojtek Figat
a8cc4d7fcb Fix wheel vehicle drive when EnableSimulation is disabled
#1323
2023-09-01 12:14:26 +02:00
Chandler Cox
d969a7f8b0 Add more physics settings. 2023-08-26 15:17:45 -05: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
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
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
d13c722ce3 Optimize text formatting in various places 2023-05-09 13:44:32 +02:00
Wojtek Figat
34629d46f3 Add **Physics Statistics and profiler** 2023-03-13 12:31:51 +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
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
c25305e695 Fix physics trigger layer mask matching trigger events (filter body types) 2022-07-24 13:12:18 +02:00
Wojtek Figat
3070493729 Add support for Physics Scene origin shifting 2022-07-04 20:04:11 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
3523b1a85f Add PhysX actors to the scene immediately 2022-05-07 18:04:23 +03:00
Wojciech Figat
0ca6e70b66 Fix invalid Rigidbody bounds if it has no shapes attached 2022-03-28 19:28:25 +02:00
Wojtek Figat
05b80d17c5 Add tire wheel tire friction scale parameter for Wheeled Vehicle 2022-01-26 20:54:57 +01:00
Wojtek Figat
b998655e1a Fix 2022-01-20 23:52:45 +01:00
Wojtek Figat
427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00