Search found 3 matches

by Beliar
Fri Jun 15, 2012 2:19 am
Forum: Support and Development
Topic: [SOLVETH] Physics - can't set mass of a body.
Replies: 3
Views: 2282

Re: [SOLVETH] Physics - can't set mass of a body.

OK, thanks for the clarification.
by Beliar
Fri Jun 15, 2012 12:55 am
Forum: Support and Development
Topic: [SOLVETH] Physics - can't set mass of a body.
Replies: 3
Views: 2282

Re: Physics - can't set mass of a body.

Hah! Now we're talking!

Just added objects.ball.body:resetMassData() after setting the mass and it worked like a charm.
by Beliar
Thu Jun 14, 2012 11:39 pm
Forum: Support and Development
Topic: [SOLVETH] Physics - can't set mass of a body.
Replies: 3
Views: 2282

[SOLVETH] Physics - can't set mass of a body.

Hello there. I've been playing with the physics tutorial code, and I couldn't find a way to change the mass of a body. I've tried everything but the thing always stays the same, like if the masses are more or less equal. If i have a 5000kg ball and a 1kg brick, the brick won't stop the ball easily, ...