public SoftBody(SoftBodyWorldInfo worldInfo, int nodeCount, Vector3[] x, float[] m) : base(btSoftBody_new(worldInfo._native, nodeCount, x, m)) { _collisionShape = new SoftBodyCollisionShape(btCollisionObject_getCollisionShape(_native)); _worldInfo = worldInfo; }
public SoftBody(SoftBodyWorldInfo worldInfo) : base(btSoftBody_new2(worldInfo._native)) { _collisionShape = new SoftBodyCollisionShape(btCollisionObject_getCollisionShape(_native)); _worldInfo = worldInfo; }
internal SoftBody(IntPtr native) : base(native) { _collisionShape = new SoftBodyCollisionShape(btCollisionObject_getCollisionShape(_native)); }