Friction and sliding?

I have a problem in the game I am working on where regardless of the friction or density I apply to an object, it continues to roll/slide along the ground. Here is the sample code I have put together as an example:

local physics = require( "physics" )  
physics.setDrawMode( "hybrid" )  
physics.start()  
  
local ball = display.newCircle( 50 , 50 , 50 )  
physics.addBody( ball, { bounce = 0.3 , friction = 1 , radius = 50 })  
ball:applyForce( 10 , 0 , ball.x , ball.y )  
  
local ground = display.newRect( 0 , 0 , display.contentWidth , 10 )  
ground.y = 100  
physics.addBody( ground , "static" , { bounce = 0.3 , friction = 3 })  

Am I missing something? I’ve tried working with density as well, and all that seems to do is slow the overall physics down, but it does not actually stop the ball from rolling either. [import]uid: 84598 topic_id: 14168 reply_id: 314168[/import]

After looking through a few tutorials I found that I needed to apply linear damping to the ball. [import]uid: 84598 topic_id: 14168 reply_id: 52153[/import]

Thank you. solved my questions too :slight_smile: [import]uid: 49300 topic_id: 14168 reply_id: 56906[/import]