[ad_1]
This video covers things that don’t move in Box2D.
Read along:
Help us caption & translate this video!
[ad_1]
This video covers things that don’t move in Box2D.
Read along:
Help us caption & translate this video!
by
Tags:
When Im trying to add converted coordinates to vertices array on line vertices[i] = box2d.coordPixelsToWorld(surface.get(i)); it keeps on throwing at me NullPointerException… I have more or less exactly the same code as Dan… Does anybody have a solution?
Why does my frame rate drop When I have 30-50+ blocks on screen
There's a way(hack) I just made for highly movable obstacles.. :
Make a Dynamic object (just like a box)
body.setGravityScale(0);
fd.density = Integer.MAX_VALUE;
then setLinearVelocity, setAngularVelocity in display.
This way, the object is too heavy for anything to affect it, and isn't under influence of gravity and can move rotate as you wish (example : moving rotor blades )
Whats the real diference between static and dynamic?
I mean, the dynamic already collide, so
What the diference between making and static object than doesn´t move rather than a dynamic object that is also not moving?
Daniel, for some reason when I use the boundary, my boundary displays above my falling object, however the falling object still collides with the location where the boundary is supposed to be displayed. Any ideas?
Leave a Reply