Type Number Event postCollision Revision Current Public Release (2018.3326) 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" ) |