0
Started

Found bug in MeasureRaycast.cs

Luke yesterday at 10:31 a.m. in realvirtual.io Starter and Professional updated by Support 8 hours ago 2

I found and fixed a bug in the MeasureRaycast.cs script. Originally the "Raycast to Layer" setting would not work. I replaced the following lines.

layermask |= (1 << LayerMask.NameToLayer("RayCastToLayer"));
layermask = ~layermask;

With this

layermask = 1 << LayerMask.NameToLayer(RayCastToLayer);

And it seems to work now. Just posting for others in case they have the same issue.

Answer

Answer

You are right - thanks a lot for reporting. Will be fixed in next release.

Answer

You are right - thanks a lot for reporting. Will be fixed in next release.