Fixtures #121

Open
opened 2015-12-11 16:00:22 +00:00 by dsrasheed · 1 comment
dsrasheed commented 2015-12-11 16:00:22 +00:00 (Migrated from github.com)

The fixture components RectangleBoxBody, Boundaries, and PolygonBody will throw the error in qmlscene: "cannot assign object to list". Circle, Box, and CircleBody work fine.

I have tried to include the components inside brackets (fixtures: [RectangleBoxBody{} ] ), but it still threw the same error.

The fixture components RectangleBoxBody, Boundaries, and PolygonBody will throw the error in qmlscene: "cannot assign object to list". Circle, Box, and CircleBody work fine. I have tried to include the components inside brackets (fixtures: [RectangleBoxBody{} ] ), but it still threw the same error.
kenvandine commented 2015-12-21 19:14:40 +00:00 (Migrated from github.com)

I see why this happens, it's a type issue. RectangleBoxBody is actually a Rectangle that contains a Body. We'd have to make the Body the parent of the Rectangle, I'll have to think about that a bit.

I see why this happens, it's a type issue. RectangleBoxBody is actually a Rectangle that contains a Body. We'd have to make the Body the parent of the Rectangle, I'll have to think about that a bit.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mdkcore/Bacon2D#121
No description provided.