Search found 2 matches

by solarice
Thu Feb 12, 2009 10:23 pm
Forum: Support and Development
Topic: need help in using mouseJoint:setTarget and physics gravity
Replies: 2
Views: 1130

Re: need help in using mouseJoint:setTarget and physics gravity

thank u for reply, but seems it's bad idea :( when i change the maxForce it's not effect on anything, as inertia. When i change the gravity, body became unstable and move down only when i help by clicking ( it starts the mouseJoint:setTarget(x_, y_)), bad move up and beside, it's going like for para...
by solarice
Thu Feb 12, 2009 8:55 pm
Forum: Support and Development
Topic: need help in using mouseJoint:setTarget and physics gravity
Replies: 2
Views: 1130

need help in using mouseJoint:setTarget and physics gravity

if I set gravity and mouseJoint:setTarget for body at one time it doesn't work together. for example I set pl.body = love.physics.newBody(world, pos_x, pos_y) love.physics.newCircleShape(pl.body, 28) pl.body:setMassFromShapes() pl.mouseJoint = love.physics.newMouseJoint(pl.body, pos_x, pos_y) ... se...