Howdy,
So I wrote a small program to test Box2d and I have a small issue. I have two objects, a static box on the ground, and a dynamic box at the top of the screen. Yes there is gravity. Anyway, the dynamic box falls under gravity normally until its Y position is about the same as its Y extend (or height/2). What could be causing this? Am I understanding the box 'extends' correctly, they are just half the dimensions of the box itself (for collision checking and such). Help would be great.
So I wrote a small program to test Box2d and I have a small issue. I have two objects, a static box on the ground, and a dynamic box at the top of the screen. Yes there is gravity. Anyway, the dynamic box falls under gravity normally until its Y position is about the same as its Y extend (or height/2). What could be causing this? Am I understanding the box 'extends' correctly, they are just half the dimensions of the box itself (for collision checking and such). Help would be great.