public IConstraintsImpl <IBendConstraintsBatchImpl> CreateBendConstraints() { IConstraintsImpl <IBendConstraintsBatchImpl> group = new BurstBendConstraints(this); constraints[(int)Oni.ConstraintType.Bending].Add((IBurstConstraintsImpl)group); return(group); }
public BurstBendConstraintsBatch(BurstBendConstraints constraints) { m_Constraints = constraints; m_ConstraintType = Oni.ConstraintType.Bending; }