private void PullResults(ref BoingWork.Params p) { CachedPosition = transform.position; transform.position = p.Instance.PositionSpring.Value; CachedRotation = transform.rotation; transform.rotation = p.Instance.RotationSpring.ValueQuat; }
private void PullResults(ref BoingWork.Params p) { CachedPosition = transform.position; RenderPosition = BoingWork.ComputeTranslationalResults(transform, transform.position, p.Instance.PositionSpring.Value, this); transform.position = RenderPosition; CachedRotation = transform.rotation; RenderRotation = p.Instance.RotationSpring.ValueQuat;; transform.rotation = RenderRotation; }