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