254 Commits

Author SHA1 Message Date
mafiesto4 b87a7d16fb Move managed code into native impl for #2063 2023-12-14 11:03:58 +01:00
mafiesto4 49c21082a1 Merge branch 'refac-coll-serialization' of https://github.com/Tryibion/FlaxEngine into Tryibion-refac-coll-serialization 2023-12-06 12:42:29 +01:00
mafiesto4 19db8c04ad Merge branch 'dont-clamp-vel' of https://github.com/Tryibion/FlaxEngine into Tryibion-dont-clamp-vel 2023-12-06 12:36:49 +01:00
mafiesto4 1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +01:00
Tryibion a6caa9dbfa Remove unused includes 2023-12-02 12:03:30 -06:00
Tryibion 73d33e4af0 Refactor Physics Colliders to use auto serialization. 2023-12-02 12:01:32 -06:00
Tryibion c5c20c8e28 Remove zero clamp on hinge velocity. 2023-12-02 10:50:59 -06:00
mafiesto4 bc3107d1db Fix build warnings on the latest XCode 2023-11-14 19:03:46 +01:00
Mr. Capybara 05ea803582 add check for GetStartAwake 2023-11-13 20:05:05 -04:00
Mr. Capybara 4ceed361e2 small fix 2023-11-13 14:28:16 -04:00
Mr. Capybara a9e1568edc Auto WakeUp rigidbodies when set "isKinematic" to false 2023-11-13 14:26:42 -04:00
mafiesto4 22c8ec5342 Fix crash when rigidbody gets deleted during physical collision
#1893
2023-11-09 11:50:48 +01:00
mafiesto4 f6645e5600 Add debug drawing contact offset for selected collider
#1728
2023-11-07 09:56:33 +01:00
mafiesto4 6648481d12 Improve various doc comments to be more usable as tooltips in Editor 2023-11-07 00:57:18 +01:00
mafiesto4 87a9dedba4 Refactor default ContactOffset for Collider to be 2 (keep 10 for CharacterController)
#1728
2023-11-07 00:56:55 +01:00
mafiesto4 c0a8d29453 Improve Cloth usage 2023-11-01 10:46:47 +01:00
mafiesto4 1a254afd4f Fix crash when creating empty cloth 2023-11-01 10:29:44 +01:00
mafiesto4 d9c2decff5 Fix crash when contact was not read properly 2023-10-28 20:09:27 +02:00
mafiesto4 9f3221c533 Remove unused include 2023-10-28 14:02:25 +02:00
GoaLitiuM 8548df4a1b Fix crash when physics actor contact is lost with another actor 2023-10-14 02:34:15 +03:00
mafiesto4 1a5606a45c Improve collision data cooking usability
#1687
2023-10-13 23:33:03 +02:00
GoaLitiuM 3ed28998e9 Add more descriptive deprecation messages 2023-10-11 21:38:33 +03:00
mafiesto4 58b9d76d24 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Editor/Viewport/PrefabWindowViewport.cs
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
mafiesto4 e319b4dedc Minor optimization for PhysX events cleanup 2023-09-28 19:37:08 +02:00
mafiesto4 682ff2fb3a Minor tweaks 2023-09-13 10:52:46 +02:00
mafiesto4 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
mafiesto4 656d984df7 Merge branch 'physx_collision_perf' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-physx_collision_perf 2023-09-13 10:27:29 +02:00
mafiesto4 7b4c8e391a Minor optimization for clearing collider from simulation events cache 2023-09-12 13:50:50 +02:00
mafiesto4 c10658c3fc Fix deserialization, add more docs and tweaks to #1345 2023-09-12 13:50:22 +02:00
mafiesto4 1591da75ac Merge branch 'physics-settings' of https://github.com/Tryibion/FlaxEngine into Tryibion-physics-settings 2023-09-12 13:03:04 +02:00
mafiesto4 639149b63b Fix crash when toggling WheeledVehicle active state
#1351
2023-09-12 11:41:33 +02:00
mafiesto4 3e35a6a7af Fix cloth sim due to culling bug in cooked game 2023-09-11 22:55:03 +02:00
mafiesto4 fb488cbaf7 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-11 22:43:46 +02:00
mafiesto4 a4312590e7 Fix debug draw leftover from 9da686cd52
#1369 #1365
2023-09-10 13:34:46 +02:00
mafiesto4 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
GoaLitiuM 6278fea496 Optimize PhysX collision event handling and onContact callback 2023-09-02 23:04:35 +03:00
mafiesto4 6a5e660c2e Merge remote-tracking branch 'origin/master' into 1.7 2023-09-02 19:02:52 +02:00
mafiesto4 36dca16991 Fix WheeledVehicle driving in Drive4W mode when wheels are in custom order
#1352
2023-09-01 13:43:36 +02:00
mafiesto4 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
mafiesto4 b0ec8525aa Add support for editing WheeledVehicle wheels config at runtime without full physics state rebuild
#1324
2023-09-01 12:40:51 +02:00
mafiesto4 a8cc4d7fcb Fix wheel vehicle drive when EnableSimulation is disabled
#1323
2023-09-01 12:14:26 +02:00
mafiesto4 5d2fae5896 Add GetColliders utility to RigidBody 2023-08-31 14:01:30 +02:00
Tryibion d969a7f8b0 Add more physics settings. 2023-08-26 15:17:45 -05:00
mafiesto4 32d9067710 Fix build 2023-07-19 09:08:17 +02:00
mafiesto4 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
mafiesto4 5012d4432e Add NvCloth for Linux 2023-07-17 18:22:40 +02:00
mafiesto4 3d5d7ad968 Don't recook cloth mesh when rebuilding it 2023-07-17 15:34:38 +02:00
mafiesto4 868084286c Add automatic cloth rebuild when simulation fails with NaN 2023-07-17 15:17:22 +02:00
mafiesto4 1af076f180 Add distance-based and frustum-based culling to cloth 2023-07-17 11:16:01 +02:00