Hokker3
(Hokker3)
#1
What do you want to achieve?
A real-life like laser beam, that stops when it hits a wall or a surface
What is the issue?
I can’t figure out how to
What solutions have you tried so far?
Using a beam object that moves the second attachment wherever the mouse points, but the beam is not really round from some perspectives
2 Likes
6Clu
(clu)
#2
That is because when you use the “beam” its displaying a texture, you may want to look into using trails instead with lifetimes attached:
https://developer.roblox.com/en-us/api-reference/class/Trail
This is what I use for my laser beam bullets.
1 Like
you can use runservice heartbeat to make it as accurate as possible within frame updating.
raycasting to make it STOP at a part.