What is the syntax for adding friction an linear damping to a rigid body?

It is not clear in Codea’s built in reference. I tried friction = 0.5, friction(0.5), etc.
Thanks!

@SugarRay I found this in one of my examples that shows a few of the values.
You give the body a name and then you use that name to change its values. That way each body can have different values.


    b1=physics.body(CIRCLE,60)
    b1.gravityScale=0
    b1.restitution=1
    b1.linearDamping=0
    b1.linearVelocity=vec2(380,700)
    b1.x=200
    b1.y=600
    b1.friction=0

Perfect, thanks, @dave1707-- that worked!

Have a good rest of your week :blush: