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