raycasting and Box2d

I’m trying to tell if a beam fired between to points will impact an object and reflect. I’m using box2d and in the C version I can use Raycasting for this but I can’t tell how to do raycasting in Corona.

I can’t use a particle (or a bullet) for this because collisions are imprecise in Box2d and the angle of reflection is often wrong for beams if you try to use a particle to simulate them.

Any pointers would be appreciated. Thank you. [import]uid: 33520 topic_id: 7377 reply_id: 307377[/import]

It is not implemented and so you can’t do it. [import]uid: 5712 topic_id: 7377 reply_id: 26244[/import]