Commit graph

116 commits

Author SHA1 Message Date
febde86430 feat(autogen): scan for props 2025-04-26 01:16:44 +02:00
9be6c103de feat(lua): deserializing values and setting instance properties 2025-04-25 11:32:11 +02:00
cbed2bac95 feat(lua): added instance property and child access via reference 2025-04-25 10:19:11 +02:00
4bd1110202 fix(lua): better print function, and override require 2025-04-25 02:01:52 +02:00
99440cc3ee feat(script): added code to actually run lua code 2025-04-24 20:43:19 +02:00
c081469a49 feat(lua): added basis for lua scripting 2025-04-24 17:08:22 +02:00
4cfb327b65 feat(script): added source property 2025-04-24 16:33:34 +02:00
1ba9911036 refactor(editor): turned main view into its own document 2025-04-24 00:58:36 +02:00
2dc9df4d1f feat(editor): insert objects from context menu 2025-04-23 19:54:06 +02:00
c26c9aaeef fix(jointsservice): clear children after initializing 2025-04-23 19:53:44 +02:00
6799b93a06 misc(datatypes): added alias for vector3, cframe, and color3 via using 2025-04-23 19:33:59 +02:00
d4f7582780 fix(joint): error in continuity check leading to infinity loop then segfault 2025-04-23 18:08:05 +02:00
6a461143a4 refactor(joint): abstracted jointinstance into its own class away from snap 2025-04-23 17:39:30 +02:00
587629fcdd fix(physics): prevent double-joining 2025-04-23 15:15:58 +02:00
e35c895233 feat(part): (wip) function to make joints between parts (introduces occasional bug where parts will turn anchored magically) 2025-04-23 13:53:39 +02:00
4b799f75d4 fix(physics): reset velocity on move + update property so that joints break 2025-04-23 12:49:18 +02:00
4005bf1cb5 fix(joints): break joint when member part is updated/destroyed 2025-04-23 12:38:41 +02:00
df9e285954 misc(datamodel): removed InsertService method 2025-04-20 19:21:01 +02:00
f6d778e3ed fix(snap): wrong backing field for C1 2025-04-20 19:19:00 +02:00
722c4acfb4 fix(joints): snap crashing datamodel 2025-04-20 18:50:27 +02:00
e9757ab306 feat(datamodel): cloning the datamodel 2025-04-20 17:36:38 +02:00
cab5ec0514 feat(instance): added clone method 2025-04-20 01:04:59 +02:00
c4ad7d5620 feat(editor): basics for run/edit mode 2025-04-20 00:17:19 +02:00
be3c7bd6b2 feat(instance): utility functions for casting/types 2025-04-20 00:08:59 +02:00
1617086692 fix(physics): made the physics slightly less jittery, but only slightly 2025-04-18 21:36:18 +02:00
9e43c63c4e fix(physics) applied correct mass so moments work correctly now 2025-04-18 21:13:25 +02:00
86c6890ca1 feat(service): added JointsService 2025-04-17 23:38:33 +02:00
0da4d6d67f misc(snap): add properties to snap 2025-04-17 22:33:24 +02:00
452c61ef90 feat(editor): circle around rotation handles 2025-04-17 22:04:52 +02:00
1fdd0f4831 feat(datatypes): added instance reference data type 2025-04-17 17:03:43 +02:00
2569e3f56f refactor: replaced optional<weak_ptr<T>> with weak_ptr<T> directly 2025-04-17 16:34:47 +02:00
59427403be feat(joints): added snap joint 2025-04-16 02:25:25 +02:00
bea6f50f13 fix(editor): properties pane not updating automatically 2025-04-15 11:21:56 +02:00
56c991b667 fix(instance): don't save ClassName property 2025-04-15 01:12:27 +02:00
166c5c5ff8 refactor(error): replaced tl::expected with result 2025-04-14 22:55:10 +02:00
58b53a0f02 refactor(error): added guards to result and misc refactorings to error 2025-04-14 22:46:18 +02:00
9cb6327c98 feat(editor): support parsing vector3s 2025-04-13 19:19:52 +02:00
cf8b9529c5 feat(instance): added ClassName as (read-only) property 2025-04-13 18:48:00 +02:00
7e14e3f968 feat(editor): spinbox for floats 2025-04-13 18:32:06 +02:00
e8ca7e8a9e feat(editor): new properties widget 2025-04-13 15:15:23 +02:00
ee05b8d9d5 feat(part): added locked property to prevent objects from being selected 2025-04-12 15:15:17 +02:00
d8d469d0e8 fix(physics): re-fixed the segfault on exit bug 2025-04-11 00:42:20 +02:00
6a017b2238 refactor(physics): integrated physics world into workspace (likely for bugs to ensue. I'll deal with that later) 2025-04-11 00:34:39 +02:00
35f49b8a45 refactor(instance): made workspace() and dataModel() not access-heavy 2025-04-11 00:19:06 +02:00
83c6d210e2 refactor: cleaned up some includes 2025-04-10 23:06:51 +02:00
eeaaef8c88 fix(serialization): no longer aborts if wrong type is parsed 2025-04-10 18:50:36 +02:00
22fcd1e55e refactor(serialization): stop using pointers for xml nodes, they already contain one internally 2025-04-10 18:03:41 +02:00
36397c1119 refactor(service): service instantiation to use instance constructor field 2025-04-10 17:33:42 +02:00
3f44e38788 feat(editor): added surface editing tools 2025-04-07 17:37:54 +02:00
4de2b97c2d refactor(instance): implemented GetDescendant and replaced GetChildren in renderer and simulation with it 2025-04-07 14:27:26 +02:00