I have two (or more) props with physics meshes obtained with [url]http://wiki.garrysmod.com/page/PhysObj/GetMeshConvexes[/url]
I would like to delete their current physics and turn them into one physics object by combining the physics meshes of the two objects.
For instance:
[t]http://cloud-4.steampowered.com/ugc/545261868538608410/2CC056E34668456A861E15E2B95A15CE35878AF6/[/t]
Make that into one prop and one physics object.
How would this be done, in theory?
EDIT: I'm thinking a custom CSG library?
Combine the mesh data together and make it the collision for one prop, then parent the other to the main one.
That's how I'd do it.
[QUOTE=vexx21322;46485421]Combine the mesh data together and make it the collision for one prop, then parent the other to the main one.
That's how I'd do it.[/QUOTE]
Makes sense, but how would I combine them. Any tip on the algorithm?
Just look how perma poly weld tool did it.
Sorry, you need to Log In to post a reply to this thread.