Exemple #1
0
        public IConstraintsImpl <ITetherConstraintsBatchImpl> CreateTetherConstraints()
        {
            IConstraintsImpl <ITetherConstraintsBatchImpl> group = new BurstTetherConstraints(this);

            constraints[(int)Oni.ConstraintType.Tether].Add((IBurstConstraintsImpl)group);
            return(group);
        }
Exemple #2
0
 public BurstTetherConstraintsBatch(BurstTetherConstraints constraints)
 {
     m_Constraints    = constraints;
     m_ConstraintType = Oni.ConstraintType.Tether;
 }