Commit Graph

73 Commits

Author SHA1 Message Date
GoaLitiuM 07371ddfdf Fix crash when PhysicsMaterial asset is reloaded in editor 2024-06-08 19:24:10 +03:00
mafiesto4 44006dd533 Various code improvements 2024-05-09 18:59:09 +02:00
GoaLitiuM 92c109c003 Fix PhysicsScene change not working in physics actors 2024-03-10 00:01:39 +02:00
mafiesto4 e20ddc83d8 Fix vehicle center of mass rotation used in wheels setup
#2171
2024-03-04 21:53:28 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 eb12c630a7 Fix incorrect vehicle wheels collisions inside trigger volumes
#2132
2024-02-23 19:27:50 +01:00
mafiesto4 8351a75676 Codestyle fixes #2192 2024-02-23 14:43:14 +01:00
mafiesto4 387f84d9d7 Merge branch 'vehicle-physics' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-vehicle-physics 2024-02-22 23:22:09 +01:00
mafiesto4 37dfdad7e2 Minor improvements to character controller
#1935
2024-02-17 20:22:40 +01:00
mafiesto4 85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +01:00
mafiesto4 42b4443e14 Add support for multiple physical materials in terrain - one for each painted layer
#1112 #2159
2024-02-16 17:11:40 +01:00
mafiesto4 42363e411e Various tweaks 2024-02-14 18:21:30 +01:00
ruan 19ddcad16f Small clean code 2024-01-21 11:03:29 -04:00
ruan afe9b15899 Merge branch 'master' into vehicle-physics 2024-01-21 09:02:18 -04:00
ruan 34583d7a55 Fix crash when disable vehicle 2024-01-21 09:00:46 -04:00
mafiesto4 6289b9d15a Fix crash due to incorrect PhysX usage for vehicle setup
#1530 #2129
2024-01-10 10:58:39 +01:00
Mr. Capybara eca17c7799 Change vehicle drive mode to vehiclde drive control 2024-01-07 10:35:00 -04:00
Mr. Capybara 14a4c92aa8 Add Vehicle anti roll bar and suspension sprung force multiplier 2024-01-06 14:49:38 -04:00
Mr. Capybara 42b20b4e76 Expose vehicle relationship between speed and steer to driver 2024-01-02 20:39:24 -04:00
Mr. Capybara 07de7a26dd Expose vehicle pad smooth inputs 2024-01-01 11:15:16 -04:00
Mr. Capybara 967569c3e2 Small fix vehicle tank inputs 2023-12-31 22:43:04 -04:00
Mr. Capybara 6a2d7e9444 auto sort wheels based on wheel position 2023-12-31 22:11:30 -04:00
Mr. Capybara d016305690 Add tank vehicle physics 2023-12-31 15:00:31 -04:00
GoaLitiuM 9077e0cf22 Fix crash while moving simulation disabled kinematic actors 2023-12-31 14:36:38 +02: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 c5c20c8e28 Remove zero clamp on hinge velocity. 2023-12-02 10:50:59 -06: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 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
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
Tryibion d969a7f8b0 Add more physics settings. 2023-08-26 15:17:45 -05: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
mafiesto4 10d9942e8f Add async pre-sim update for cloth via job system 2023-07-16 22:39:56 +02:00
mafiesto4 2046eca45a Add NvCloth fabric reusing for multiple instances of the same cloth mesh 2023-07-16 14:40:11 +02:00
mafiesto4 e075a1c6aa Run cloth simulation in async via job system 2023-07-16 12:59:18 +02:00
mafiesto4 adfaf8c961 Don't update cloth colliders every frame 2023-07-16 12:53:59 +02:00
mafiesto4 31943ca9bd Add normals computing to cloth mesh 2023-07-16 12:02:33 +02:00
mafiesto4 2645b69ec0 Tweak air lif/drag coeffs to properly simulate wind on cloth 2023-07-14 17:10:28 +02:00
mafiesto4 aef3ae14d4 Add animated model pose handling as a input to cloth for proper character clothing sim 2023-07-14 17:10:09 +02:00
mafiesto4 3f9e286279 Fix crash when creating cloth with all vertices fixed 2023-07-14 14:12:30 +02:00
mafiesto4 b1056e160a Add debug sanity checks to cloth to solve issues 2023-07-14 13:36:44 +02:00