Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a part start somewhere and end somewhere?

Asked by 7 years ago

Well, i came across a game some time ago, and there is a concept where it makes a part start from one object, and ends all the way to a other, but randomly.

So to rephrase incase its badly explained. I want to know how to make a part have a starting point from one place, and make it stretch all the way to a other place through a script.

All i need is a explanation of the general concept, you dont have to provide a script.

Thanks

0
increase part size and position at the same time in a loop. cabbler 1942 — 7y
0
That's not what i mean.. Like through the script i make a part. Then i adjust it so that it's starting point is at lets, say point A and its Ending point is at point B y0ucef123 72 — 7y
0
Mark the start point and the end point. CFrame the part to the middle, aimed at the end point. Size the part's Z to the distance. cabbler 1942 — 7y
0
Ok i got the first part.. But how do i make it face it, idk how. y0ucef123 72 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

I think you might want to take a look at raycasting.

Ad

Answer this question