Commit Graph

33 Commits

Author SHA1 Message Date
f09fd7ad34 Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
2025-05-02 14:19:55 +03:00
Chandler Cox
40a641b731 Fix scale not being applied to physics center. 2025-04-07 17:23:03 -05:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
7614481d78 Fix PhysicsMaterial not updating in Colliders after asset reload 2024-06-08 19:24:13 +03:00
Wojtek Figat
f6aabf2d14 Optimize navmesh building and reduce scene lock time 2024-05-09 18:58:47 +02: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
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
7538296775 Refactor PhysicalMaterial usage to utilize JsonAssetReference struct 2024-02-15 11:45:50 +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
Wojtek Figat
87a9dedba4 Refactor default ContactOffset for Collider to be 2 (keep 10 for CharacterController)
#1728
2023-11-07 00:56:55 +01:00
Chandler Cox
2607e0e187 Add ability to rotate colliders and add collider direction for capsule collider. 2023-05-31 10:38:33 -05:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
3070493729 Add support for Physics Scene origin shifting 2022-07-04 20:04:11 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
Wojtek Figat
427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Iain Mckay
a4e102672d Adds feature for creating multiple physics scenes 2022-01-05 14:26:42 +01:00
Wojtek Figat
62b0d19866 Refactor Rigidbody automatic mass calculation to include physical material Density 2021-11-01 21:44:09 +01:00
Wojtek Figat
d1b7b2d26d Optimize flushing active transform of physically simulated actors 2021-07-07 16:45:35 +02:00
Wojtek Figat
5a710ccd7a Hide GetPxShape impl 2021-06-09 14:49:36 +02:00
Wojtek Figat
e21c9d24de Add proper vehicle setup after editing wheel colliders 2021-03-26 17:11:26 +01:00
Wojtek Figat
4562dde31f Add Vehicles support 2021-03-26 15:11:07 +01:00
Wojtek Figat
8bce445ab0 Refactor Collider base class to improve code sharing across collider shape types 2021-02-10 14:33:16 +01:00
Wojtek Figat
be319c446d Refactor settings types to use scripting API 2021-01-05 14:14:34 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
760d586923 Fix crash when using Physical Material with missing instance
(cherry picked from commit 5e77925492)
2020-12-22 12:59:31 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00