Hi again,
I'm trying to create a ConvexHull for a series of models that an object can be created from.
In my current implementaton the full object contains a CompoundBody created from some basic BoxShapes. How can replace these basic boxes with a list of ConvexHulls and still pass them into the CompoundBody constructor?
I've tried to search but half the terms keep getting removed from my query, gah!
Cheers
Creating a CompoundBody from a list of ConvexHulls?
Re: Creating a CompoundBody from a list of ConvexHulls?
ConvexHull is a prefab entity type that exists for convenience and legacy reasons, like the Box. ConvexHullShapes, the shape used by the ConvexHull, can be put into compounds in the same way as BoxShapes, the shape used by the Box.
The EntityConstructionDemo in the BEPUphysicsDemos shows some examples involving convex hull shapes and compound shapes.
The EntityConstructionDemo in the BEPUphysicsDemos shows some examples involving convex hull shapes and compound shapes.
Re: Creating a CompoundBody from a list of ConvexHulls?
Thanks for pointing me in the direction of that demo, must have missed it! just what I need!