Commit Graph

36 Commits

Author SHA1 Message Date
Antoine Pilote
79a9265dc6 Can now trigger audio emitters through scripts 2023-09-23 16:18:11 -04:00
Antoine Pilote
691f46e0d6 Added better character auto stepping and component settings 2023-08-12 16:12:39 -04:00
Antoine Pilote
03c18842f8 Fixed set translation 2023-08-09 00:32:30 -04:00
Antoine Pilote
2262b103c2 Code cleanup 2023-08-09 00:31:41 -04:00
Antoine Pilote
67577b902b Fixed prefabs and prefab instancing 2023-08-09 00:30:38 -04:00
Antoine Pilote
899e2dee86 Fixed ApplyForce on rigidbody not working 2023-08-09 00:29:48 -04:00
Antoine Pilote
c637bd18ab Fixed wren api, packing into vec3 2023-07-28 13:11:24 -04:00
Antoine Pilote
5103101a0d Added wren binding to raycast function 2023-07-24 00:56:27 -04:00
Antoine Pilote
42322fbf8e Merge pull request #45 from antopilo/NK-16-physics-scripting-module
Nk 16 physics scripting module
2023-07-22 11:58:47 -04:00
Antoine Pilote
e4119c0d15 Rework logger 2023-07-21 22:25:17 -04:00
Antoine Pilote
5a8cf74e43 Merge branch 'main' into NK-16-physics-scripting-module 2023-07-21 16:44:48 -04:00
Antoine Pilote
dc15f61a66 Update SceneModule.h 2023-07-18 10:35:15 -04:00
Antoine Pilote
1fee5b8d41 Added add force API endpoint 2023-07-18 00:16:26 -04:00
Antoine Pilote
0534c0fd81 CreateEntity & AddPrefab method added to scripting API + other
- New entity starts incrementing if an entity with the same name exists
- Better log message
2023-07-17 01:49:09 -04:00
Antoine Pilote
8a8db47f6c Added lookat 2023-07-12 16:10:20 -04:00
Antoine Pilote
055d6d7d0b Clean up 2023-07-10 14:19:56 -04:00
Antoine Pilote
2a8da705e4 Added Editor Update to scene systems 2023-07-07 01:33:52 -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
8be7695d1e Code standardtization pass. Fixed a bunch of warnings. 2023-03-04 17:50:02 -05:00
a.pilote
249e26dcd5 Removed euler, only quaternion and dirty flag 2022-07-14 17:45:06 -04:00
antopilo
a4cdf4b524 Work on quaternion rotation 2022-07-10 18:36:10 -04:00
antopilo
162966eeb0 Made material resource file editable from engine 2022-06-29 18:05:59 -04:00
antopilo
55ae840678 UI editor work 2021-09-26 22:56:25 -04:00
antopilo
61e54c5a46 GLTF 2.0 support, Updated Scripting, Fixed point light shadowing, Added editor focus camera 2021-09-06 22:28:54 -04:00
antopilo
a6823ba2fa Transform system overhaul
Fixed child rotations
Added editor overhauls
2021-09-05 16:43:38 -04:00
Filip Homolka
b391581feb Turn "WrenScript" label into "mWrenScript" label, so it works on compilers other than MSVC 2021-07-25 20:13:00 +02:00
Antoine Pilote
0c6ed48bbd Major cleanup.
Moved to namespace
Cleanup includes
2021-07-11 18:56:44 -04:00
Antoine Pilote
68d276c4b6 Fixed triggers mesh collision to account for all faces 2021-07-02 03:30:12 -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
c7dc3cc476 Trenchbroom parser work with entities
Fixed lighting
Fixed global position system
Fixed child deletion system.
editor work for custom entities registration
2021-06-23 17:37:54 -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
Antoine Pilote
cdfee1981c Various improvements:
Framebuffer resize queued to next frame to fix flickering
Wren VM init moved to on play event
Added new Wren modules
Added missing components to the editor
Changed how the wren scripts gets initialized
2021-06-12 13:01:07 -04:00
Antoine Pilote
855bb1edd6 Major scripting update🕹
- Added Input wren module
- Added Math wren module
- Added Entity wren module
- Changed camera API
2021-06-10 22:23:53 -04:00
Antoine Pilote
41742ce0ad Added Wren scene module ⛏ 2021-06-10 15:15:11 -04:00