Commit Graph

137 Commits

Author SHA1 Message Date
Wojtek Figat
ef2c551cee Fix build 2025-10-08 23:24:15 +02:00
Wojtek Figat
65cf59642c Fix changing Rigid Body center of mass offset
#2325 #3247
2025-10-08 22:16:46 +02:00
Wojtek Figat
e2fc8a6283 Add drawing RigidBody center of mass and attached colliders
#2325 #3247
2025-10-08 22:16:16 +02:00
Wojtek Figat
276caf771c Merge branch 'SmallVehicleImprovements' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-SmallVehicleImprovements
# Conflicts:
#	Source/Engine/Physics/Actors/WheeledVehicle.h
2025-09-22 16:18:12 +02:00
Wojtek Figat
9fafb47abb Fix debug drawing wheeled vehicle in prefab viewport
#3591
2025-08-29 21:03:44 +02:00
Wojtek Figat
fa97229830 Merge branch 'float_equality' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-float_equality 2025-06-03 17:26:12 +02:00
Wojtek Figat
0f3044ae72 Optimize debug drawing of terrain shape in Physics Colliders view mode
#3469
2025-05-31 23:27:51 +02:00
f09fd7ad34 Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
2025-05-02 14:19:55 +03:00
Wojtek Figat
59aed828f6 Update attributes style to be consistent in engine 2025-04-12 22:09:12 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
xxSeys1
1dfd717093 serialize display info and color 2025-04-02 23:38:04 +02:00
xxSeys1
68ef6f08c6 minor style fixes 2025-04-02 19:40:27 +02:00
xxSeys1
a0b80c6096 add getters for more commonly used vehicle fields 2025-04-02 19:29:11 +02:00
xxSeys1
59ac8a3f60 move anti roll bars into Vehicle display group 2025-04-02 19:21:24 +02:00
xxSeys1
dd281bbca8 add wheel information debug draw 2025-04-02 19:12:36 +02:00
xxSeys1
2e48be97b6 add getter for steering 2025-04-02 17:24:13 +02:00
Wojtek Figat
5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
Wojtek Figat
5d32bb962f Add warning when cloth paint is incorrect size 2025-03-11 23:09:47 +01:00
Wojtek Figat
5bdbbb6d38 Merge remote-tracking branch 'origin/master' into 1.10 2025-03-07 23:41:02 +01:00
Wojtek Figat
ca153e70ab Fix crash when loading cloth that has different paint data size than mesh
#3264
2025-03-07 21:23:54 +01:00
Wojtek Figat
8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
Wojtek Figat
db4d7d2a05 **Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
2025-01-06 22:47:19 +01:00
Wojtek Figat
ab99a25cee Update mesh config defines to match a single format 2024-12-29 23:03:09 +01:00
xxSeys1
06929f7079 add getter for WheeledVehicle throttle 2024-10-22 14:38:13 +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
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
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
92c109c003 Fix PhysicsScene change not working in physics actors 2024-03-10 00:01:39 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +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
85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +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
nothingTVatYT
22600a2c29 add torque unit 2024-01-31 11:01:22 +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
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
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
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