Exemple #1
0
        public IConstraintsImpl <IChainConstraintsBatchImpl> CreateChainConstraints()
        {
            IConstraintsImpl <IChainConstraintsBatchImpl> group = new BurstChainConstraints(this);

            constraints[(int)Oni.ConstraintType.Chain].Add((IBurstConstraintsImpl)group);
            return(group);
        }
 public BurstChainConstraintsBatch(BurstChainConstraints constraints)
 {
     m_Constraints    = constraints;
     m_ConstraintType = Oni.ConstraintType.Chain;
 }