Commit Graph

51 Commits

Author SHA1 Message Date
Antoine Pilote
1d7f9e007f Switched to using jolt virtual character instead of jolt character 2023-08-11 00:36:20 -04:00
Antoine Pilote
899e2dee86 Fixed ApplyForce on rigidbody not working 2023-08-09 00:29:48 -04:00
Antoine Pilote
3b401e7711 Upgraded jolt version 2023-08-04 17:18:05 -04:00
Antoine Pilote
f5c47ee045 Merge branch 'main' of https://github.com/antopilo/Nuake 2023-07-31 11:09:23 -04:00
Antoine Pilote
5a891e8fb2 Fixed out of threads jolt 2023-07-31 11:08:13 -04:00
Antoine Pilote
fc8628fb4f Added raycast to physics world 2023-07-23 16:19:14 -04:00
Antoine Pilote
ab3d19c137 Merge branch 'main' of https://github.com/antopilo/Nuake
# Conflicts:
#	Nuake/src/Core/Physics/DynamicWorld.cpp
#	Nuake/src/Core/Physics/DynamicWorld.h
2023-07-22 13:10:41 -04:00
Antoine Pilote
2ee0dd3dfe fix 2023-07-22 13:09:22 -04:00
Antoine Pilote
5a8cf74e43 Merge branch 'main' into NK-16-physics-scripting-module 2023-07-21 16:44:48 -04:00
Antoine Pilote
4e4d203666 Renamed some glm::vec3 to Vector3 2023-07-19 00:31:22 -04:00
Antoine Pilote
1fee5b8d41 Added add force API endpoint 2023-07-18 00:16:26 -04:00
Antoine Pilote
520867d3fe AddForce test 2023-07-17 02:46:44 -04:00
Antoine Pilote
6433518a25 Reduced physics maxstep to 16 2023-07-17 02:46:35 -04:00
Antoine Pilote
4150610b95 Silenced jolt callbacks debug prints + comments 2023-07-17 01:58:44 -04:00
Antoine Pilote
a466065ac6 Progress towards finding transform corruption when drawing after loading scene 2023-07-12 01:21:47 -04:00
Antoine Pilote
07002f0d4a Better maths 2023-07-10 17:36:17 -04:00
Antoine Pilote
ea3c7def51 Merge branch 'NK-104-rigidbodies-initial-rotation' into NK-103-camera-corrupted-rotation 2023-07-10 00:57:34 -04:00
Antoine Pilote
56858ab157 Oritentation fixed progress 2023-07-10 00:57:27 -04:00
Antoine Pilote
f2863f53de Physics bodies now support initial rotation 2023-07-10 00:56:40 -04:00
Antoine Pilote
c1b5c167aa Fixed crash when no jobs are available 2023-07-07 17:21:48 -04:00
Antoine Pilote
43494fb590 Added Character controller ground check 2023-07-07 01:34:26 -04:00
Antoine Pilote
5b8b9ea0c7 Removed unused code 2023-07-06 22:41:14 -04:00
Antoine Pilote
c2b80eb2f9 Fixed rendering error when disabling volumetric 2023-07-04 12:41:35 -04:00
Antoine Pilote
0d108bc44a Character controller now moving! 🏃‍♂️
- Added character controller transform syncing Jolt -> Scene
- Physic system code cleanup
- Fixed crash with WrenScript loading
- Fixed Normalize() returning NaN vector when lenght is 0
2023-07-04 03:09:52 -04:00
Antoine Pilote
fc183b4813 Physics system progress
Added CharacterController creation
Reworked and refactored shape and body system internally
Code cleanup
Brought back Hull serializing for Quake map brushes
Updated Editor panels accordingly
2023-07-03 19:16:02 -04:00
Antoine Pilote
80eadc2a5a Added capsule collider component 2023-04-02 19:01:40 -04:00
Antoine Pilote
17849584e5 Fixed collision object jolt rotatation 2023-04-02 18:36:33 -04:00
Antoine Pilote
d1b2e2379f Started character controller implementation 2023-04-02 18:36:17 -04:00
Antoine Pilote
a02c4bd114 Physics improvement 2023-04-02 13:56:58 -04:00
antopilo
c826bbde99 Decompose of jolt matrix to get new transform 2023-03-14 22:39:36 -04:00
antopilo
84cc29685f Fixed jolt crash when exiting and no physics bodies is in the scene. 2023-03-14 22:38:21 -04:00
antopilo
763a4905d0 Added convex hull collision shape 2023-03-14 22:38:04 -04:00
antopilo
253faf9a92 Added support for mass override 2023-03-13 23:33:12 -04:00
antopilo
ffa4b52ad3 Added transform to rigidbody 2023-03-13 23:32:49 -04:00
antopilo
f9364d868f Fixed mesh rigid body shape 2023-03-13 22:18:20 -04:00
antopilo
1c13c7ef2d Added mesh colliders 2023-03-08 22:37:03 -05:00
antopilo
d50b04be28 Added basic physics tracking for box collider and sphere collider 2023-03-08 20:22:10 -05:00
Antoine Pilote
65df50e722 Added panel for box collider and created first rigidbody 2023-03-07 21:40:33 -05:00
antopilo
6cbad0e13b Reworked editor camera 2023-03-07 17:26:13 -05:00
Antoine Pilote
f8643f1dcf Partial Jolt implementation and some model loader fixes. 2023-03-01 22:05:23 -05:00
Antoine Pilote
f5c5497122 Can now build with JoltPhysics 2022-09-25 15:27:43 -04:00
Antoine Pilote
382802c62a Rework
-Removed bullet
-Removed Soloud
Removed every instances of bullet usage.
Edited some UI stuff
2022-09-24 20:14:51 -04:00
antopilo
a71bfcbe75 Huge rework of editor and other changes. 2022-01-09 16:44:20 -05:00
antopilo
4d1e134eaa refactoring scene rendering 2021-09-20 06:49:45 -04:00
Antoine Pilote
0c6ed48bbd Major cleanup.
Moved to namespace
Cleanup includes
2021-07-11 18:56:44 -04:00
Antoine Pilote
f5bcb12f61 Added nuake wren modules path detection, removed project stuff 2021-07-03 16:00:13 -04:00
Antoine Pilote
fcdeff9d99 Added triggers and targetting system for brushes. Added corresponding Scripting API endpoint for accessing those. 2021-06-27 22:27:57 -04:00
Antoine Pilote
8f4c5f8b08 Trigger physics update 2021-06-26 13:13:52 -04:00
Antoine Pilote
5b56e2ff9a Character controller working better
Moved ECS systems to separate folders
better raycast normal result
2021-06-18 16:44:54 -04:00
Antoine Pilote
8f238cd4ca Now FPS character controller demo with fixed shading 2021-06-16 00:04:21 -04:00