What is the recommended approach to do something like a conveyor belt placement at runtime ?
A conveyor belt need to have an input & output sockets.
And the conveyor belt is basically a spline with a few system modifying the mesh at runtime.
How do you do a Physics Collider for each of the parts ? ( Belt, and one for each sockets ) Starting from a prefab with subprefab ( one for each component )
How to be sure that the sockets are not updating their collisions filters BEFORE the belt is placed ?
Again what would be the correct approach ?
My idea would be : ( cf screenshot ) purple : visual, green : a physic collider is present
Same question : how do you ensure a mesh collider is baked with an empty mesh ? ( I need to put a cube mesh for it to be present after conversion ) So I can update it at runtime ( if no mesh present it's currently not adding the physics Collider component )
Same thing about parenting loss at baking. in my screenshot If I don't add the Parent component at baking in a authoringMonobehaviour, the two socket lose parenting :/