Here's the situation: I made a gun using raycasting, and when FindPartOnRay returns a part to me, I make another part and position it at the endPoint also returned to me. The problem is, I don't want the new part's center at the endPoint, I want the side which is facing the part returned to me of the new part to be positioned at the endPoint.

Any ideas?

3 comments

1

Not sure what you mean but I think you would want to offset the position by half its size.

0

You put too many words in the wrong order, I can't tell what you're saying.

0

@Perci: Yes, but in which direction to offset the part is the difficult aspect.