Type Number Event postCollision Revision Release 2024.3703 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" )