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

Is it possible to create attachments/constraints while playing?

Asked by 6 years ago

I want to make a train driving game and I want the player to be able to couple/de-couple from coaches or trucks. Is it possible to create constraints while playing? If not, is there an alternative?

0
yes. uhTeddy 101 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Just you can use

Instance.new("Attachment") 

or

Instance.new("RopeConstraint")

to make them, and then set the Attachment positions, and the RopeConstraint properties.

Ad

Answer this question