Exemplo n.º 1
0
        /*
         * Spring Functions
         */

        public SpringConstraint MakeSpring(Particle a, Particle b, float stiffness = 1f)
        {
            var s = new SpringConstraint(a, b, stiffness);

            _springs.Add(s);
            return(s);
        }
Exemplo n.º 2
0
 public void DeleteSpring(SpringConstraint s)
 {
     DeleteSpringByUID(s.uid);
 }