Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by Spirit-X

I've created a long straight stroke and placed it over my laser so I can see the laser in scene. I've also got the stroke to change it's end point to match the current hit location of the laser with a bit of logic. Now I want a little red dot at that hit location at the end of the laser, but I only want the red dot to be visible when I 'Hit' is being detected.

I've got some useful outputs from the laser scope including the Z position of the hit location (local to the scope) and the Hit Distance in meters. I just can't quite work out how to use the info in the right way to get a my red dot painting where I want it with the tools available (really think we should have a 'Position' gadget to just place stuff where we want).

I guess my question is, how do I work out the red dot's distance from the Laser's origin point in real time (without attaching another laser to the red dot) and have it constantly updating? And I need the measurement to local to the Laser Scope's axes.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.