Commit Graph

303 Commits

Author SHA1 Message Date
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
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
ruan
19ddcad16f Small clean code 2024-01-21 11:03:29 -04:00
ruan
e5160f2885 Small fix 2024-01-21 10:42:55 -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
ruan
7f95748351 Fix brake not working on tanks 2024-01-20 19:44:08 -04:00
ruan
e6389511ff Fix tank inputs without initialized values 2024-01-13 09:47:00 -04:00
Chandler Cox
f1d6d71f6c Get unrotated bounded box to rotate. 2024-01-10 13:53:22 -06:00
Chandler Cox
361cb914f3 Keep local orientation on collider spawn. Add option to keep orientation when resizing collider. 2024-01-10 11:42:49 -06: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
Mr. Capybara
7f420c0131 add validation to vehicle drive 2024-01-07 10:46:21 -04: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
nothingTVatYT
a24a9d2094 move constraints checks to RigidBody 2024-01-06 12:40:24 +01:00
Mr. Capybara
a102bad87e Change wheel steer angle limit 2024-01-02 22:28:23 -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
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