// Update is called once per frame void Update() { transform.position = particle.Update(Time.deltaTime); foreach (HooksLaw.Particle part in spring.m_Particle) { spring.CalculateForce(); } }
public void FixedUpdate() { transform.position = particle.Update(Time.fixedDeltaTime); }