Commit Graph

273 Commits

Author SHA1 Message Date
envision3d
a5a16c3192 Fix issue with CharacterController initialization 2024-02-18 20:32:32 -06:00
Wojtek Figat
45241d63bd Merge branch 'arrow-debug-draw-improviment' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-arrow-debug-draw-improviment 2024-02-18 10:39:16 +01:00
Wojtek Figat
37dfdad7e2 Minor improvements to character controller
#1935
2024-02-17 20:22:40 +01:00
Wojtek Figat
c140cc4e7c Add Material to RayCastHit for surface detection logic 2024-02-16 17:39:35 +01:00
Wojtek Figat
85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +01:00
Wojtek Figat
42b4443e14 Add support for multiple physical materials in terrain - one for each painted layer
#1112 #2159
2024-02-16 17:11:40 +01:00
Wojtek Figat
7538296775 Refactor PhysicalMaterial usage to utilize JsonAssetReference struct 2024-02-15 11:45:50 +01:00
Wojtek Figat
42363e411e Various tweaks 2024-02-14 18:21:30 +01:00
Wojtek Figat
3958a4740f Add option to enable Depth Test on cloth painting debug preview (enabled by default) 2024-02-14 12:36:04 +01:00
Wojtek Figat
8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
Wojtek Figat
6272caffa5 Merge branch 'fix-root-motion' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-fix-root-motion 2024-02-06 16:10:20 +01:00
Wojtek Figat
6d757946c5 Fix crash when adding physics scene with auto simulation
#2180
2024-02-06 11:49:12 +01:00
nothingTVatYT
8922b5cd79 clean up include file 2024-01-10 18:38:29 +01:00
nothingTVatYT
d126f5bc55 use enum helper functions 2024-01-10 18:36:05 +01:00
Wojtek Figat
6289b9d15a Fix crash due to incorrect PhysX usage for vehicle setup
#1530 #2129
2024-01-10 10:58:39 +01:00
nothingTVatYT
a24a9d2094 move constraints checks to RigidBody 2024-01-06 12:40:24 +01:00
9077e0cf22 Fix crash while moving simulation disabled kinematic actors 2023-12-31 14:36:38 +02:00
Mr. Capybara
57dee19f75 Merge branch 'master' into arrow-debug-draw-improviment 2023-12-17 10:28:00 -04:00
Mr. Capybara
3c19262574 Add parameter to change arrow cap size 2023-12-17 10:15:41 -04:00
Wojtek Figat
b87a7d16fb Move managed code into native impl for #2063 2023-12-14 11:03:58 +01:00
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +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
Chandler Cox
c5c20c8e28 Remove zero clamp on hinge velocity. 2023-12-02 10:50:59 -06:00
Wojtek Figat
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
Wojtek Figat
22c8ec5342 Fix crash when rigidbody gets deleted during physical collision
#1893
2023-11-09 11:50:48 +01: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
c0a8d29453 Improve Cloth usage 2023-11-01 10:46:47 +01:00
Wojtek Figat
1a254afd4f Fix crash when creating empty cloth 2023-11-01 10:29:44 +01:00
Wojtek Figat
d9c2decff5 Fix crash when contact was not read properly 2023-10-28 20:09:27 +02:00
Wojtek Figat
9f3221c533 Remove unused include 2023-10-28 14:02:25 +02:00
8548df4a1b Fix crash when physics actor contact is lost with another actor 2023-10-14 02:34:15 +03:00
Wojtek Figat
1a5606a45c Improve collision data cooking usability
#1687
2023-10-13 23:33:03 +02:00
3ed28998e9 Add more descriptive deprecation messages 2023-10-11 21:38:33 +03:00
Wojtek Figat
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
Wojtek Figat
e319b4dedc Minor optimization for PhysX events cleanup 2023-09-28 19:37:08 +02:00
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
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
Wojtek Figat
7b4c8e391a Minor optimization for clearing collider from simulation events cache 2023-09-12 13:50:50 +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
Wojtek Figat
639149b63b Fix crash when toggling WheeledVehicle active state
#1351
2023-09-12 11:41:33 +02:00