Type Number Event postCollision Revision Release 2024.3703 Keywords postCollision, x See also event.y
The x position where the post-collision event occurred. Note that the reported collision position can be influenced by physics.setAverageCollisionPositions() and physics.setReportCollisionsInContentCoordinates().
local function onPostCollision( event ) print( "position: " .. event.x .. "," .. event.y ) end