Page 1 of 1

Weld joints with Rubeloader and libgdx

Posted: Wed Feb 24, 2016 11:40 pm
by fredells
Hi, I'm creating a game with libgdx and Rubeloader (https://github.com/tescott/RubeLoader)

Weld joints don't seem to be compatible. Has anyone written or found a workaround?

Is there any way to recreate the functionality of a weld joint. I tried a revolute joint + motor joint but it doesn't react similarly enough.

Cheers

Fred

Re: Weld joints with Rubeloader and libgdx

Posted: Thu Feb 25, 2016 11:12 pm
by iforce2d
Perhaps you could give a little more info about what you mean by 'not compatible'. I didn't make that loader myself, but it looks like the author has intended for weld joints to be a part of it (at least they are mentioned here: https://github.com/tescott/RubeLoader/b ... aults.java)

Re: Weld joints with Rubeloader and libgdx

Posted: Sat Feb 27, 2016 2:43 am
by fredells
Yeah I was wrong. Rubeloader is "compatible" by which I mean that its joint serializer properly casts and handles weld joints as weld joints. Which leaves me stumped.

Basically what is happening is that my weld joints are completely stiff in game. The frequency and damping values are reading properly. And no matter what I change them to the joints wont budge.

Thanks in advance

Re: Weld joints with Rubeloader and libgdx

Posted: Sat Feb 27, 2016 12:17 pm
by iforce2d
Do you get the expected result if you create the same joint manually, ie. just coding everything without RUBE?