Search found 35 matches

by Voptiplex
Mon Mar 02, 2015 9:15 am
Forum: Bug reports
Topic: Motorjoint anchors incorrect after resaving with b2dJson
Replies: 21
Views: 73815

Re: Motorjoint anchors when saving JSON not ok.

Hi Chris, for what it is worth, I have attached the file saved with b2djson. The jointTypes example file saved in original version, the saved file changed by hand. Then i have uncommented the correctionFactor in b2dJson and tried again. As expected, the anchorA is still wrong, but the motorJoint is ...
by Voptiplex
Sun Mar 01, 2015 9:56 pm
Forum: Bug reports
Topic: Motorjoint anchors incorrect after resaving with b2dJson
Replies: 21
Views: 73815

Re: Motorjoint anchors when saving JSON not ok.

Mmmhhh, I am not allowed to attach JSON files ... .
by Voptiplex
Sun Mar 01, 2015 9:51 pm
Forum: Bug reports
Topic: Motorjoint anchors incorrect after resaving with b2dJson
Replies: 21
Views: 73815

Re: Motorjoint anchors when saving JSON not ok.

Hi Chris, I am using RUBE 1.6.1 on Mac OSX with JSON loader 02.12.2013. I am a bit puzzled that your exported file contains the "correctionFactor" : 0.5, as my b2dJson.cpp contains the following code and correctionFactor should not be set: case e_motorJoint: { jointValue["type"] ...
by Voptiplex
Sun Mar 01, 2015 5:18 pm
Forum: Bug reports
Topic: Motorjoint anchors incorrect after resaving with b2dJson
Replies: 21
Views: 73815

Re: Motorjoint anchors when saving JSON noch

Hi Chris, I am not sure I do understand correctly. I do get that anchorB is always at local 0,0 of the relevant body. But anchorA should not be 0, but it is. a) I have tried loading one of your example files (jointTypes.json) and then saved the world into another JSON file. (jointTypes.rube has got ...
by Voptiplex
Fri Feb 27, 2015 7:40 pm
Forum: Bug reports
Topic: Motorjoint anchors incorrect after resaving with b2dJson
Replies: 21
Views: 73815

Motorjoint anchors incorrect after resaving with b2dJson

Hi Chris, I do have a problem with saving my world into a JSON file in C++. Basically, the problem is that in the saved JSON the anchors of a motor joint are not in the location as set in RUBE, but on the local center of the attached bodies. Have a look at these screenshots: 1. Design in Rube: Scree...