Is there a way to make beams have shadows, or some sort of "stretchy part"?

One of the characters in my game has an extendable arm, and the way i’m currently handling it is using beams


image

But as you can see, beams aren’t really meant to do this, they look really flat.
Would there be any alternative to this, or a way to make it look better?

2 Likes

just use a raycast and make a metal part for it

(tbh the beam looks fine, whole character is awesome)

1 Like

yes but the metal part needs to stretch between the distance of the saw and the hand

sorry, raycast wasn’t the right word. it’s just that raycasting is usually what this method is used for.

local distance = (handposition - bladeposition).Magnitude
local p = Instance.new("Part")
p.Anchored = true
p.CanCollide = false
p.Size = Vector3.new(0.1, 0.1, distance)
p.CFrame = CFrame.new(origin, position)*CFrame.new(0, 0, -distance/2)
1 Like