Search found 6 matches

by fisher
Sat Mar 28, 2015 6:48 pm
Forum: R.U.B.E discussion
Topic: List of loaders for RUBE scenes
Replies: 37
Views: 436539

Re: List of loaders for RUBE scenes

Hi, I'm not sure if this is right place to put that, but if someone needs RUBE json converter to Objective-C class with Box2D object defined in code, here it is: https://github.com/pzagawa/RUBE2Class This is command line utility with sources. Just give rube json object, run converter and you have yo...
by fisher
Wed Feb 26, 2014 9:49 pm
Forum: Bug reports
Topic: ASSERT in b2PolygonShape::Set / vertices order
Replies: 6
Views: 35480

Re: ASSERT in b2PolygonShape::Set / vertices order

forced wrote:...RUBE will make sure all polygons have the correct ccw winding anyway. I have attached the version of b2PolygonShape.cpp I'm using in RUBE, along with an svn diff in case that helps.
Great! Now my magic object works :) Thanks for help and quick answer.
by fisher
Sun Feb 23, 2014 10:52 pm
Forum: Bug reports
Topic: ASSERT in b2PolygonShape::Set / vertices order
Replies: 6
Views: 35480

ASSERT in b2PolygonShape::Set / vertices order

Hello, I think there is a problem with vertices export/saving order. Or I'm really very tired :) I have created some "magic" project with RUBE, which does not works after export to *.cpp or *.json. Just simple box with two fixtures (attached in zip file). Project opens in RUBE, and works i...
by fisher
Sat Feb 22, 2014 10:40 am
Forum: R.U.B.E discussion
Topic: HOWTO: rotate connected bodies around joint in editor
Replies: 3
Views: 8540

Re: HOWTO: rotate connected bodies around joint in editor

In other words, I think not about rotating selected object about cursor, but about modifying all bodies connected with joints, like on images below:
force2d.png
force2d.png (18.88 KiB) Viewed 8532 times
force2d1.png
force2d1.png (18.32 KiB) Viewed 8532 times
Designated body stays in place, other bodies can be manipulated.
by fisher
Tue Feb 18, 2014 10:11 pm
Forum: R.U.B.E discussion
Topic: HOWTO: rotate connected bodies around joint in editor
Replies: 3
Views: 8540

HOWTO: rotate connected bodies around joint in editor

Because if I'm not mistaken, bodies only rotate around cursor. When I selected joint, I'd like to rotate all connected bodies around this joint - as I can playing with it in player view, but want to make the same change in editor. In other words: set bodies initial position with mouse and joints con...
by fisher
Sat Feb 15, 2014 9:47 pm
Forum: Feature requests
Topic: Improvement in CPP SCENE EXPORT
Replies: 1
Views: 18053

Improvement in CPP SCENE EXPORT

Hello, I think about improvement for option: File->Export Scene->Save as source code. Exporting scene to *.cpp file is quite nice, however, objects are exported in their own scope, that is, between "{}". I know that this was the easiest way to generate objects tree, but each object has the...