Unfortunately, getting the point of collision from Corona is not possible right now. You could work it out if your shapes are relatively circular.
If your physics bodies are not circular you have a problem - the Box2D engine does provide this information, but it’s not exposed in CoronaSDK so far, so there is a performance limitation in calculating the collision, ie: you do it longhand.
I have been intending to write some code for the Exchange, but here is my basic premise:
Assuming the collision is not a ‘preCollision’ - it must already be happening - loop through each line which forms the physics shape of your physics bodies. For each pair of lines check that they intersect with each other. If they do, that’s where the collision is happening.
The loop is basic, but the line intersection check can be performed using the ‘doLinesIntersect’ function from my math library:
http://developer.coronalabs.com/code/maths-library
I’ve got more useful code here:
http://springboardpillow.blogspot.co.uk/2012/04/sample-code.html [import]uid: 8271 topic_id: 33811 reply_id: 134385[/import]