Hey guys I’ve been playing around with linemeshes recently and I’m making a project similar to autocad. So far I’ve been using rays where I laydown a ray exactly where I create a linemesh. This is easy if the line is perfectly horizontal and vertical but now it’s a little challenging when working with angles, circles and eventually moving the meshes around. Is there any other way?
Hi @jbcostan, please do check out Intersect Collisions - mesh - Babylon.js Documentation (especially regarding the
RayHelper allows you to attach a
Ray to a mesh, so when the mesh moves or rotates, the
Ray will automatically move and rotate with it.