Model Points?

Hi everybody…

I have made some models in ProBuilder and the thing is, these models are actually parts of a spaceship which I made separately because they have different looks when upgraded, damaged and so on… I’m not sure if this is the best way though…
There’s one main part on which all other parts should be attached in-game and I have no idea how to do it.

Is there a way to add a 3D Point on the model and then use it when you import it in the game? Like, how do you attach different weapons to a character model in-game?

Thanks!

Hi! Usually you create empty game objects and make them children of the main object - then use them as “sockets”. So you’d place a “socket” for your turrets, your wings, your engines, etc. Then use the position and rotation of that socket when placing the item.

Probably a bit more efficient, just save position and orientation data in your script … but gameobject sockets are much nicer to work with and tweak as you go :slight_smile:

Hi, thank you for your reply.

Actually, I tried doing that. But the empty game objects are simply not getting imported along with the model…