Hey everyone,
1:
I’m working on a raycast feature and need a bit of help. I basically need a starting and ending point. I’ve got the starting point figured out—it’s just the position of a part.
→ part.Position
But for the ending point, I’m adding some distance above the part using Vector3.new(0,50,0).
→ part.Position + Vector3.new(0,50,0)
2:
The trouble is, when the part rotates, the ending point stays put above it. I want it to move with the part’s direction instead. Any ideas on how to make this work? I’ve included a picture to show what I mean.
Thanks for any help you can offer!