wiseag 1 Posted May 29, 2013 I am attempting to improve a laser targeting script for A10s that I wrote a while ago. The script allows A10s to laser designate targets for themselves and others, it works fine if the target is on the terrain (it spawns the LaserTarget on the ground and it stays at ground level). If the target is in a building/object, then the guidance systems cannot see it. Placing the target next to the object works, but prevents direct hits (reducing damage significantly). So I am wondering if there is a way to find the edge of objects. I have been using lineIntersectsWith to find the objects that it collides with but so far haven't unearthed a way to find the world coordinate (or even the object-center relative coordinate) that the A10 to target line intersects with. I am working on a way of the moving the LaserTarget until it stops intersecting, but this is proving problematic. Has anyone already found a better way to do this? Thanks in advance for any help. Share this post Link to post Share on other sites