Commit Graph

6847 Commits

Author SHA1 Message Date
SirLynix
a55560d1ca Update to Jolt Physics v3 2023-04-20 12:29:56 +02:00
SirLynix
396c0f73f3 Remove NAZARA_UNITY_BUILD define 2023-04-13 09:23:42 +02:00
SirLynix
cdb4ff2de9 Fix compilation on wasm 2023-04-12 15:31:04 +02:00
SirLynix
d717335bca VulkanRenderer: Fix unitybuild causing #define issue because of Windows.h 2023-04-12 14:13:34 +02:00
SirLynix
f034e71ba4 Core/HardwareInfo: Fix compilation for other arch than x86 2023-04-12 14:10:55 +02:00
SirLynix
71891b9788 Remove Windows arm64 from CI 2023-04-11 18:23:41 +02:00
SirLynix
0a2388a343 Move MinGW isystem fix to xmake.lua 2023-04-11 18:17:40 +02:00
SirLynix
6d8734f288 Add support for ARM64 on Windows 2023-04-11 18:15:29 +02:00
SirLynix
83c2f3f735 Fix cross-compilation to arm64 on Windows 2023-04-11 13:51:33 +02:00
SirLynix
2f5db80183 Remove empty source files 2023-04-11 13:51:11 +02:00
SirLynix
3df52dcfbe Examples: Reduce size of some web examples 2023-04-10 19:20:15 +02:00
SirLynix
2c6191987f Graphics/PhongMaterial: Add option to disable shadow mapping (and disable it by default on web) 2023-04-10 17:25:18 +02:00
SirLynix
44c42a85c2 Examples/PhysicsPlayground: Reduce ship count 2023-04-10 17:20:50 +02:00
SirLynix
f952c64642 Graphics/BasicMaterial: Fix compilation error when no UV are available ...
... but textures are mapped
2023-04-10 17:12:40 +02:00
Jérôme Leclercq
16bd496253 Leave bullet in release mode 2023-04-10 17:12:23 +02:00
SirLynix
670389d268 xmake check-files -f 2023-04-10 17:12:23 +02:00
SirLynix
262351c5c3 Update docs 2023-04-10 17:12:23 +02:00
SirLynix
26b23ccce6 Rename Physics2D to ChipmunkPhysics2D 2023-04-10 17:12:23 +02:00
SirLynix
b1255ad2ad Build: Add options to enable/disable specifics modules and their dependencies 2023-04-10 17:12:23 +02:00
SirLynix
71bc39bfa6 Prepare for merge 2023-04-10 17:12:23 +02:00
SirLynix
ad1a7cf43e JoltCollider3D/ConvexHullCollider3D: Improve debug mesh generation 2023-04-10 17:12:23 +02:00
SirLynix
6a609055dc Replace ordered_map with unordered_map when ordering is not required 2023-04-10 17:12:23 +02:00
SirLynix
4f1f0c6418 JoltPhysics3D: Fix JoltConvexHullCollider3D::BuildDebugMesh 2023-04-10 17:12:23 +02:00
SirLynix
f7d0f4ca23 Example/Showcase: fix use after move 2023-04-10 17:12:23 +02:00
SirLynix
1415dcbf1a JoltPhysics3D: Add JoltConvexHullCollider3D 2023-04-10 17:12:23 +02:00
SirLynix
60ed70d3fd Fix unity build compilation 2023-04-10 17:12:23 +02:00
SirLynix
d610baf920 JoltPhysics3D: Rework RigidBody wrapper
- Add a clear way to setup dynamic/kinematic or static bodies
- Body registration to the world is batched (all bodies created before a physics step are added together, which is what Jolt is optimized for)
- Added support for empty shapes (= rigid bodies without collision) using a very small shape and tagging the body as sensor
2023-04-10 17:12:23 +02:00
SirLynix
67b1710adb JoltPhysics3D/JoltCollider3D: Set convex radius by default 2023-04-10 17:12:23 +02:00
SirLynix
77ee7d8c92 JoltPhysics3D/JoltCollider3D: Fix offsetMatrix not taken into account 2023-04-10 17:12:23 +02:00
SirLynix
61724cc4b9 JoltPhysics3D: Add distance constraint 2023-04-10 17:12:23 +02:00
SirLynix
96cc9aa9d7 Rebase fixes 2023-04-10 17:12:23 +02:00
SirLynix
8d25495bab JoltPhysics3D: Add some methods to JoltCharacter 2023-04-10 17:12:23 +02:00
SirLynix
74bfd8fa4e Update physics playground (restore grab with both jolt and bullet) 2023-04-10 17:12:23 +02:00
SirLynix
efc81ff508 BulletPhysics3D: Fix movement 2023-04-10 17:12:23 +02:00
SirLynix
6447686ad9 JoltPhysics3D: Add JoltPivotConstraint3D 2023-04-10 17:12:23 +02:00
SirLynix
d697450a60 JoltPhysics3D: Add raycast hit normal 2023-04-10 17:12:23 +02:00
SirLynix
1387ac6e35 JoltPhysics3D: Add capsule collider 2023-04-10 17:12:23 +02:00
SirLynix
a4ba7d6115 JoltPhysics3D:: Improve characters 2023-04-10 17:12:23 +02:00
SirLynix
2b0239b8f0 JoltPhysics3D: Fix crash when freeing compoites colliders 2023-04-10 17:12:23 +02:00
SirLynix
b3595178a1 JoltPhysics3D: Add RaycastQuery and RaycastQueryFirst 2023-04-10 17:12:23 +02:00
SirLynix
707a486e74 BulletPhysics3D: Rename StaticPlaneCollider3D (add Bullet prefix) 2023-04-10 17:12:23 +02:00
SirLynix
63d75e8904 Physics3D/PhysWorld3D: Add generic RaycastQuery 2023-04-10 17:12:23 +02:00
SirLynix
4d42c0cf9c Physics3D/Constraint3D: Add Damping/ImpulseClamp properties 2023-04-10 17:12:23 +02:00
SirLynix
3efd422e86 BulletPhysics3D: Add StaticPlaneCollider3D 2023-04-10 17:12:23 +02:00
SirLynix
021801f02e Continue Jolt integration 2023-04-10 17:12:23 +02:00
SirLynix
21e08798ce Test Showcase with JoltPhysics 2023-04-10 17:12:23 +02:00
SirLynix
648273573d Make Jolt work on web + update demo 2023-04-10 17:12:23 +02:00
SirLynix
c5ac142888 Add JoltPhysics3D for a performance test 2023-04-10 17:12:23 +02:00
SirLynix
bd4c2d6ee7 Rename Physics3D to BulletPhysics3D 2023-04-10 17:12:23 +02:00
SirLynix
5cbc435e1a Physics3D: Add PivotConstraint3D 2023-04-10 17:12:23 +02:00