Type Number Event postCollision Revision 2017.3060 Keywords postCollision, friction See also event.force
The frictional force of the post-collision as reported with the current event.
local function onPostCollision( self, event )
print( "friction: " .. event.friction )
print( "force: " .. event.force )
end
object.postCollision = onPostCollision
object:addEventListener( "postCollision" )