Hey all,
I’ve added a body to a group and have applied lineardamping, however, the damn thing won’t slow down. Any idea what is going wrong?
local map = require ("com.twothreetwo.display.Map").new() mapScrollView:insert( map ) physics.addBody( map, { density = 1, friction = 0.20, bounce = 0} ) map.isFixedRotation = true map:applyLinearImpulse( 10000, 0, map.x, map.y ) map.linearDamping = 10;
I’ve even tried adding the linearDamping on enterframe but the map body still doesn’t slow down.
Any ideas?
Thanks,
N