flip, scale, angle works for subobject movement

This commit is contained in:
2023-09-21 13:38:23 +00:00
parent 81875c3436
commit 47dc6aa1fe
5 changed files with 67 additions and 27 deletions

View File

@@ -82,6 +82,7 @@ component.sprite.ur = {
color:[1,1,1],
layer:0,
enabled:true,
toString() { return "sprite"; },
};
sprite.inputs = {};
@@ -644,6 +645,7 @@ component.circle2d = Object.copy(collider2d, {
ur: {
radius:10,
offset:[0,0],
toString() { return "circle2d"; },
},
});