Hi,
I am in the planning phase for a mesh customization system. I have a base object that represent 95% of the outer surface and weight of the final object, and smaller parts that will attach to it.
The base mesh has physics - collision hull, mass, propulsion. It works great.
Now I would like to attach the parts as extensions of the base object. I don't care for their mass or their effect in inertia, etc but I need them to respond to collisions : projectiles, other objects colliding...
So what I need is basically to attach a physical mesh to another, with absolutely no degree of freedom. Is this possible ? Is this a correct way of doing things (I will have a lot of these) ?
Thanks
Mesh attachment - Hard constraint joint with no DoF
-
- Posts: 1
- Joined: Fri Dec 06, 2013 1:24 pm
-
- Posts: 14
- Joined: Wed Apr 28, 2010 3:09 pm
Re: Mesh attachment - Hard constraint joint with no DoF
Basically two ways: combine all the shapes into one compound collision shape or bind them together with solid constraints. The former needs some testing for collisions with parts of the shape. See http://bulletphysics.org/Bullet/phpBB3/ ... php?t=4818 for the latter.
-- mb
-- mb