Commit Graph

51 Commits

Author SHA1 Message Date
SirLynix
22a047b3b1 Add tab outside of indent check 2024-01-26 14:38:59 +01:00
SirLynix
6757de1be8 Add end-of-line spaces checker 2024-01-26 10:43:00 +01:00
SirLynix
9ada93b995 Remove spaces before line feed 2024-01-25 14:38:06 +01:00
SirLynix
14f51b31ca Fix a bunch of warnings 2024-01-03 18:17:52 +01:00
SirLynix
cd8c1cb160 Replace reinterpret_cast from/to pointers to BitCast 2024-01-03 17:19:42 +01:00
SirLynix
d2e2c075b4 Update copyright year 2024-01-02 12:02:14 +01:00
SirLynix
87bf4563f2 Update auto-gen files 2023-12-17 16:00:44 +01:00
SirLynix
f2672f6376 Fix compilation 2023-12-07 17:14:20 +01:00
SirLynix
3fd696385d JoltPhysics3D/JoltPhysWorld3D: Add CollisionQuery for points and shapes 2023-12-07 16:49:48 +01:00
SirLynix
26dbdef50d JoltPhysics3D: Add elapsedTime parameter to PostSimulate 2023-12-07 16:45:46 +01:00
SirLynix
6cbfb01243 JoltPhysics3D: Allow raycast to return hit characters (and retrieve their entities) 2023-12-07 16:45:14 +01:00
SirLynix
f7f31431cb JoltPhysics3D/JoltRigidBody3D: Fix IsSleeping 2023-12-04 00:21:51 +01:00
SirLynix
e6c5d95278 JoltPhysics3D/RigidBody: Fix mass being overriden by Jolt 2023-11-26 21:30:27 +01:00
SirLynix
f09175228d JoltPhysics3D: Skip the rigid body update if no physics step took place
This improves the framerate if FPS > physics rate
2023-11-26 21:28:40 +01:00
SirLynix
f5df12e740 JoltPhysics3D: Update for v4 2023-11-15 08:08:45 +01:00
SirLynix
4b8a475bbd Split error macro into two versions (format vs non-formating) to allow format checking at compile-time 2023-11-02 15:18:03 +01:00
SirLynix
a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix
887bd875f7 Remove unused headers 2023-08-12 12:22:27 +02:00
SirLynix
ab95bec41b Fix compilation 2023-08-10 12:03:56 +02:00
SirLynix
efa2a30934 Fix check-files ordering headers by folder count for different libs 2023-08-10 08:59:50 +02:00
SirLynix
494a83e817 JoltPhysics3D/Physics3DSystem: Cleanup test code 2023-08-10 08:59:20 +02:00
SirLynix
09f282f2fe JoltPhysics3D/JoltCharacter: Fix IsOnGround returning true when touching walls 2023-08-09 19:38:07 +02:00
SirLynix
b3ad0e3a06 JoltPhysics3D: Fix raycast body for static bodies 2023-08-04 12:28:15 +02:00
SirLynix
e6f26f04a9 JoltPhysics3D: Fix destruction of just created bodies 2023-08-04 12:27:26 +02:00
SirLynix
c081811760 JoltPhysics3D: Allow to construct components without using the system 2023-07-23 13:05:33 +02:00
SirLynix
2a9ec4f3bb Minor fixes 2023-06-16 13:06:11 +02:00
SirLynix
1672765936 JoltPhysics3D/JoltCollider3D: Add Mesh JoltMeshCollider3D 2023-06-02 17:47:25 +02:00
SirLynix
d914f41404 JoltPhysics3D/JoltCharacter: Fix crash after move 2023-05-21 14:58:55 +02:00
SirLynix
a6f4e7b08d Add missing include 2023-05-16 14:32:33 +02:00
SirLynix
6f15400d01 JoltPhysics3D: Rework Character class 2023-05-15 19:03:28 +02:00
SirLynix
bbbd3f88c1 Core: Add DisabledComponent (to temporary disable an entity) 2023-05-07 22:43:48 +02:00
SirLynix
2f5db80183 Remove empty source files 2023-04-11 13:51:11 +02:00
SirLynix
670389d268 xmake check-files -f 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
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
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
8d25495bab JoltPhysics3D: Add some methods to JoltCharacter 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
021801f02e Continue Jolt integration 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