Hello!
I want to create a joint. I have a car body, and four wheels.
all phisycalsprite is a DynamicBox.
i initialized and created the revolutejoints, and the PrismaticJoints for the body and wheels.
then i call the following
but all the car body is disappearing. why?
I want to create a joint. I have a car body, and four wheels.
all phisycalsprite is a DynamicBox.
i initialized and created the revolutejoints, and the PrismaticJoints for the body and wheels.
then i call the following
Code:
leftWheel.applyLinearImpulse(new Vector2(0.0f*leftWheel.getMass(), 5.0f*leftWheel.getMass()), leftWheel.getWorldCenter());
but all the car body is disappearing. why?