public ConcaveShape( ShapeGeometry baseGeometry, Vector3d position, double mass, bool isStatic) { baseGeometry.SetConcaveCommonGeometry(); this.concaveShape = new ShapeDefinition.ConcaveShape( baseGeometry.GetGeometry(), position, mass, isStatic); }
public ConcaveShape( Vector3d[] inputVertexPosition, int[][] inputTriangle, Vector3d position, double mass, bool isStatic) { ShapeGeometry shapeGeometry = new ShapeGeometry(inputVertexPosition, inputTriangle); shapeGeometry.SetConcaveCommonGeometry(); CommonGeometry baseGeometry = shapeGeometry.GetGeometry(); this.concaveShape = new ShapeDefinition.ConcaveShape( baseGeometry, position, mass, isStatic); }