Search found 10 matches
- Fri Nov 04, 2016 2:04 am
- Forum: R.U.B.E discussion
- Topic: Bumpy ride on edge body with radius
- Replies: 1
- Views: 26002
Bumpy ride on edge body with radius
Hi, I have a strange question. I have created a simple game where you ride vehicles along terrain. I am creating the terrain from edge bodies with a radius. I noticed however that when I add a radius to my terrain my player (on a bicycle) bumps and jumps off of vertices. This does not happen when th...
- Sun Aug 28, 2016 11:30 pm
- Forum: Box2D tutorial discussion
- Topic: Methods of rendering box2d objects
- Replies: 1
- Views: 60619
Methods of rendering box2d objects
Hello, I am looking for a simple way to render box2d objects. What I want is simple outline and fill colors. Is it possible to control debug rendered output? Alternatively is it possible to fill the objects with a repeating texture? Do I have to create shapes from the fixtures, color them, and then ...
- Sun Aug 28, 2016 11:22 pm
- Forum: R.U.B.E discussion
- Topic: Expanding an edge body to give it a thickness
- Replies: 2
- Views: 18131
Re: Expanding an edge body to give it a thickness
That worked perfectly. Thanks again to you iforce2d
- Fri Aug 19, 2016 3:27 pm
- Forum: R.U.B.E discussion
- Topic: Expanding an edge body to give it a thickness
- Replies: 2
- Views: 18131
Expanding an edge body to give it a thickness
Hi,
Is there a way to expand an edge body to give it a thickness?
Fred
Is there a way to expand an edge body to give it a thickness?
Fred
- Fri Aug 19, 2016 12:33 am
- Forum: Box2D tutorial discussion
- Topic: Detecting no current collisions
- Replies: 2
- Views: 58848
- Thu Aug 18, 2016 1:04 am
- Forum: Box2D tutorial discussion
- Topic: Detecting no current collisions
- Replies: 2
- Views: 58848
Detecting no current collisions
Hello,
I'm making a 2d biking game and I need a way to check whether he is in the air or in contact with any objects.
Is there a way to see if a given body is in contact with zero bodies? Better yet, is there a way to do the same thing for an entire object?
Thanks in advance
Fred
I'm making a 2d biking game and I need a way to check whether he is in the air or in contact with any objects.
Is there a way to see if a given body is in contact with zero bodies? Better yet, is there a way to do the same thing for an entire object?
Thanks in advance
Fred
- Sat Feb 27, 2016 2:43 am
- Forum: R.U.B.E discussion
- Topic: Weld joints with Rubeloader and libgdx
- Replies: 3
- Views: 23777
Re: Weld joints with Rubeloader and libgdx
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 readi...
- Wed Feb 24, 2016 11:40 pm
- Forum: R.U.B.E discussion
- Topic: Weld joints with Rubeloader and libgdx
- Replies: 3
- Views: 23777
Weld joints with Rubeloader and libgdx
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 ...
- Thu Jan 21, 2016 2:06 am
- Forum: R.U.B.E discussion
- Topic: Unable to enable a wheeljoint
- Replies: 3
- Views: 23864
Re: Unable to enable a wheeljoint
The maxMotorTorque is set to 75. If I pre-enable the motor in RUBE the motor is enabled in game. But then I cannot disable it, i.e the same problem. When I access the joints from Rubeloader they are in an arraylist of <joints>. I then tag the individual joint as (Revolute Joint). Is the control mayb...
- Sat Jan 16, 2016 10:31 pm
- Forum: R.U.B.E discussion
- Topic: Unable to enable a wheeljoint
- Replies: 3
- Views: 23864
Unable to enable a wheeljoint
Hello, I am using RUBE for the level and vehicle design of a simple game. I am using Rubeloader to load teh scenes but have been unable to enableMotor() or setMotorSpeed() for any joints that are loaded. See below: RubeSceneLoader loader = new RubeSceneLoader(); RubeScene scene = loader.loadScene(Gd...