#Laser pointer Length
24 messages · Page 1 of 1 (latest)
Cool 
You may have enabled the Scale Length configuration
what
But that cv2 laser pointer
it doesnt work with Scale Length
Tf does scale length even do?
i have no idea
You can make a raycast that starts at the laser position and the direction is the forward vector of the laser and use the distance as a length
ah i got it
Scale Length scales the laser's visual length by the laser component's size.
If the laser component is 2x it's normal size and the laser length is 1m the laser visual will be 2m long.
I assumed you already did the racyast method to set the laser's length and just needed help fixing its length
why not use a distance chip??
A points to B in general, a raycast point forward and then outputs a distance from A(being the raycast) and B (it's hit position)
to be more specific, A's pivot to B's pivot, not realy 'general'. But ye
Ye U right, I forgot the word for allways lol
is the laser pointer not always pointing at a certain object?
It is, although that object always changes, so if I were to point to object X, it would still say the distance to B, with a raycast the object that is hitting does get outputted, but it's distance is always going to be the distance from the raycast, to it's exact hit position, I'm Esl so if I might have written some errors, hope they aren't too big lol
when you say the object always changes, do you mean that its not always pointing at the same thing? as in, it could be pointing at object a in one moment and object b the next?
Very much so
It does do that with a distance chip,
yeah i know