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

How can I allow player to change parts in a model?

Asked by 4 years ago

Eg. I played a dinosaur game in which at the start the player can choose the color of various parts of the dragon. The dragon can then be flown by the player using mouse or other input device. I want to do something similar(not a dragon). But I cannot figure out how to keep the model intact and change the color of one part, not the whole model. It obviously has been done so ifs possible. Thanks for any help you can give

0
You could divide up the content of your Model by using Folders or Models, storing the parts that need a color change inside. Then when you actually need to change the color you can simply iterate throughout the children and change it. You could keep the model intact by welding it together either by using WeldConstraints or Welds. Nickuhhhhhhhhhhhhhhh 834 — 4y
0
I tried something like that but I guess I didn’t weld it correctly. I’ll try again. Thanks White_Pointer -1 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

You have to script it. Every model color script is unique to their own game. If the parts are not stay attached id suggest anchoring them or use attachments. This is not a request website, show the code you already have and we can possibly help you more on it.

Ad
Log in to vote
0
Answered by 4 years ago

So far I’ve tried to do this manually in studio and if I had been successful I would have coded that. I’ll try again. I must have welded incorrectly. Thanks.

Answer this question