is that correct that raycast cannot return which element of a body has been detected along the ray/line ?
i’m trying the example from the doc that works fine except it cannot find out which element so i receive a hit for one object multiple times for each of the element of a body.
for i,v in ipairs( hits ) do
print( "Hit: ", i, v.object, v.object.myName,v.object.ip,
" Position: ", v.position.x, v.position.y, " Surface normal: ", v.normal.x, v.normal.y )
end
is there another way ?
thanks !