Exemplo n.º 1
0
        public FixedAngleSpring CreateFixedAngleSpring(PhysicsSimulator physicsSimulator, Body body,
                                                       float springConstant, float dampningConstant)
        {
            FixedAngleSpring fixedAngleSpring = CreateFixedAngleSpring(body, springConstant, dampningConstant);

            physicsSimulator.Add(fixedAngleSpring);
            return(fixedAngleSpring);
        }
Exemplo n.º 2
0
        public FixedAngleSpring CreateFixedAngleSpring(Body body, float springConstant, float dampningConstant)
        {
            FixedAngleSpring fixedAngleSpring = new FixedAngleSpring(body, springConstant, dampningConstant);

            return(fixedAngleSpring);
        }