Hello everybody.
I'm having trouble with adding a sensor to my player object. The shape of the player is circle and it is fixedRotating = false as I want the ball rolling.
Now I want to add a sensor that doesn't rotate and only positions itself to a "static" position below the circle. The image provided explains more.
The point in the sensor is to make the object be able to jump only when it is grounded.
I'm using AS3 and Box2DFlash 2.02.
I'm having trouble with adding a sensor to my player object. The shape of the player is circle and it is fixedRotating = false as I want the ball rolling.
Now I want to add a sensor that doesn't rotate and only positions itself to a "static" position below the circle. The image provided explains more.
The point in the sensor is to make the object be able to jump only when it is grounded.
I'm using AS3 and Box2DFlash 2.02.