Search found 861 matches

by iforce2d
Sat Apr 01, 2017 12:39 pm
Forum: Useful rubescripts
Topic: Merge two fixtures
Replies: 6
Views: 35875

Re: Merge two fixtures

Thanks for the mail follow-up qq200600. Looks like the updated version of Angelscript in v1.7.4 is causing this problem. Since the above post does not explain much, the problem is that using the "Join fixtures" script stops without doing anything and the message "Null pointer access&q...
by iforce2d
Sat Apr 01, 2017 12:31 pm
Forum: R.U.B.E discussion
Topic: How to get the Center of an image? [possible BUG?] [Images]
Replies: 4
Views: 9703

Re: How to get the Center of an image? [possible BUG?] [Imag

Yes, images attached to a body need to be rotated and moved when the body moves. If you want to make manual changes like setting position coordinates directly, it will really help to set the angle of the body to zero first :) By the way, you can set the position of the cursor to the current selectio...
by iforce2d
Fri Mar 10, 2017 1:08 am
Forum: R.U.B.E discussion
Topic: Phaser integration
Replies: 1
Views: 6683

Re: Phaser integration

Thanks for the feedback! I don't think I will be doing any more work on the Phaser loader, as far as Javascript goes I would be more likely to make a loader for createjs next. I need to be providing the basics in multiple frameworks, rather than getting into the finer details of one framework.
by iforce2d
Sat Feb 18, 2017 2:13 am
Forum: Useful rubescripts
Topic: Half-circle bumps
Replies: 0
Views: 33377

Half-circle bumps

Not really sure what to call this one... see this thread for the original topic: http://www.iforce2d.net/forums/viewtopic.php?f=6&t=529 //Name: Half-circle bumps //Tags: line, bump //Add body with a line fixture comprising a series of half-circles, offset from each other in x and y to form a row...
by iforce2d
Fri Dec 02, 2016 9:09 am
Forum: Bug reports
Topic: Bug in javascript loader
Replies: 3
Views: 22631

Re: Bug in javascript loader

Yes, you're correct. I have updated the github source. If you want to pinpoint change your file, this is how it should be (just the applyProperties line changed): else if ( jointJso.type == "weld" ) { var jd = new b2WeldJointDef(); loadJointCommonProperties(jd, jointJso, loadedBodies); app...
by iforce2d
Thu Dec 01, 2016 12:32 am
Forum: Bug reports
Topic: Bug in javascript loader
Replies: 3
Views: 22631

Re: Bug in javascript loader

That code was a very early version, before I made the official release available. I guess I just left it there because it was working for the demos. The most recent code is here: https://github.com/iforce2d/b2dJson/blob/master/js/loadrube.js Could you try with that one? Although just from a quick lo...
by iforce2d
Sat Nov 05, 2016 8:15 am
Forum: R.U.B.E discussion
Topic: Bumpy ride on edge body with radius
Replies: 1
Views: 20307

Re: Bumpy ride on edge body with radius

Sounds like the wheel of the bicycle is colliding with the shape of one segment, and the shape of the next segment, and the circle that exists at the vertex, all at once. Basically it's this problem: http://www.iforce2d.net/b2dtut/ghost-vertices
by iforce2d
Sat Oct 15, 2016 8:59 pm
Forum: R.U.B.E discussion
Topic: New versions of Rube
Replies: 2
Views: 11901

Re: New versions of Rube

There is no specific date for a release planned, but there will still be updates, sometime.
Can you tell me more about what you mean by custom property groups?