- Home /
Question by
NutellaDaddy · May 04, 2014 at 02:55 AM ·
c#buildingconnectparts
How to create building system like KSP?
I want to create a building system where you can put parts together at certain points on the mesh. How can I make it so that when two points get close enough they snap together ,but snap parts only appear on parts of the parts that can connect together? Do you have any tips or tutorial videos?
Comment
Best Answer
Answer by SteelArrow21 · May 04, 2014 at 03:51 AM
Maybe, you could use OnTriggerEnter functions to get them to snap at a certain poisition and when the mouse gets a certain distance away, it unsnaps. Just an idea.
Yes, I had that idea. Thank you for suggesting it. I'm thinking I'll make certain snap points on each model and then I'll make points in which you can freely attach to eachother around the whole model.