in the game players can customize their guns by changing different parts , i used special meshs so i can change the mesh using scripts and rigidconstraints to keep the parts together , but when i tried to make a gun part that have a different mesh and not a retexture that happened … they are not aligned anymore !
i really need your help because i started to lose motivation on making the game , i have been working on the game from 3 months or 2 straight
This would help by making you use mesh parts instead of special meshes, also the fact that mesh parts can be positioned much better so you would basically just need to copy the initial position of the mesh and then interchange welds and positions and size etc. It’s kind of much accurate and easier than special meshes.
I agree with @awry_y here. Using already built meshes and just switching them out, using transparency property, it would make the system allot more simple and prevent issues like these to appear. I don’t know if memory is a huge issue, but it is generally better to keep your systems as simple as possible.
i tried to position them manually but this did not work either , like this i will need to position every part for every other part (like the default chamber needs to have a different position for every reloading port)
this will not work either , here is how :- lets say we have the front part and the middle part , if the player decided to change the front part it may be aligned well or not because the middle part may need a special positing it self so this means that i will need to make copies of that part and every copy match a certain part only
So basically, you make all the parts and have them welded plus parented to the gun, then when you want to change something, you make the old parts transparent and the new parts visible This won’t need any positioning at all.