Commit Graph

333 Commits

Author SHA1 Message Date
Wojtek Figat
2a1706decb Fix vehicles simulation instability when physics substepping is enabled
#2796
2024-07-25 14:19:01 +02:00
Wojtek Figat
1891b9e367 Refactor PhysX vehicles and cloth simulation code to be more readable
#2796
2024-07-25 13:51:32 +02:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
Wojtek Figat
529de24da4 Cache DisableCCD locally in physics backend
#2768
2024-07-18 12:39:15 +02:00
Wojtek Figat
fc3d15c544 Merge branch 'ccd-fix' of https://github.com/Swiggies/FlaxEngine into Swiggies-ccd-fix 2024-07-18 12:27:33 +02:00
Wojtek Figat
ccd619f659 Merge branch 'simplemove_gravity' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-simplemove_gravity 2024-07-18 12:26:06 +02:00
Wojtek Figat
ea45aa9b19 Merge branch 'charcontroller_terrain_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-charcontroller_terrain_fix 2024-07-18 11:54:46 +02:00
Wojtek Figat
5498cbf3bf Merge branch 'phyx-ed' of https://github.com/Tryibion/FlaxEngine into Tryibion-phyx-ed 2024-07-18 11:50:46 +02:00
Olly Rybak
e5e1f945ea Added eDETECT_CCD_CONTACT to PairFlags, hopefully properly enabling CCD 2024-07-17 10:04:14 +10:00
Chandler Cox
d700df6afb Add PhysX option for enabling enhanced determinism 2024-07-15 16:23:49 -05:00
35d46e23a8 Fix CharacterController::SimpleMove gravity displacement handling 2024-07-13 16:39:22 +03:00
f1fc086612 Fix CharacterController to not process hits against removed actors 2024-07-13 16:39:06 +03:00
Chandler Cox
7b4e509140 Fix mesh collider not rotating correctly due to negative scale. 2024-07-11 18:44:55 -05:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
MrCapy0
8899e3ebb7 clean code 2024-06-15 12:11:08 -03:00
MrCapy0
727ff8be95 Fix crash on add new drive steer vs speed 2024-06-15 12:09:19 -03:00
7614481d78 Fix PhysicsMaterial not updating in Colliders after asset reload 2024-06-08 19:24:13 +03:00
07371ddfdf Fix crash when PhysicsMaterial asset is reloaded in editor 2024-06-08 19:24:10 +03:00
Wojtek Figat
44006dd533 Various code improvements 2024-05-09 18:59:09 +02:00
Wojtek Figat
f6aabf2d14 Optimize navmesh building and reduce scene lock time 2024-05-09 18:58:47 +02:00
Wojtek Figat
6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
Wojtek Figat
9e54827cb3 Cleanup code #2213 2024-03-19 20:13:41 +01:00
Wojtek Figat
911251cb20 Merge branch 'unit-formatting' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-unit-formatting
# Conflicts:
#	Source/Editor/CustomEditors/Editors/ActorTransformEditor.cs
#	Source/Editor/Options/InterfaceOptions.cs
#	Source/Engine/Core/Math/Transform.h
2024-03-19 18:04:01 +01:00
Wojtek Figat
d719c381ea Merge remote-tracking branch 'origin/master' into 1.8 2024-03-11 23:49:33 +01:00
92c109c003 Fix PhysicsScene change not working in physics actors 2024-03-10 00:01:39 +02:00
Wojtek Figat
41cff47ca3 Revert "Merge branch 'Tryibion-rot-colliders'" (#1141)
This reverts commit 73cb792989, reversing
changes made to b4fe3a44aa.
2024-03-07 23:24:40 +01:00
Wojtek Figat
e20ddc83d8 Fix vehicle center of mass rotation used in wheels setup
#2171
2024-03-04 21:53:28 +01:00
Wojtek Figat
b4fe3a44aa Merge branch 'rot-colliders' of https://github.com/Tryibion/FlaxEngine into Tryibion-rot-colliders
# Conflicts:
#	Source/Engine/Physics/Colliders/CapsuleCollider.cpp
#	Source/Engine/Physics/Colliders/Collider.cpp
2024-03-04 20:12:32 +01:00
Wojtek Figat
53bd576ade Fix game settings serialization bug 2024-02-28 02:05:26 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
eb12c630a7 Fix incorrect vehicle wheels collisions inside trigger volumes
#2132
2024-02-23 19:27:50 +01:00
Wojtek Figat
8351a75676 Codestyle fixes #2192 2024-02-23 14:43:14 +01:00
Wojtek Figat
387f84d9d7 Merge branch 'vehicle-physics' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-vehicle-physics 2024-02-22 23:22:09 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
621281ab3a Merge branch 'coll-resize-orient' of https://github.com/Tryibion/FlaxEngine into Tryibion-coll-resize-orient 2024-02-20 11:07:12 +01:00
Wojtek Figat
056deb58ad Fix compilation in #2257 2024-02-19 17:48:18 +01:00
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
7f95dab511 more joint values formatted 2024-01-31 22:05:54 +01:00
nothingTVatYT
245cf63b0b format break limits on joints 2024-01-31 20:40:06 +01:00