public void TryCycle() { float timeSince = Time.time - lastCycle; if (timeSince > 0.25f) { body.Cycle(); lastCycle = Time.time; } }
void OnLaunch() { thisBody.Cycle(); Glue(GlueState.FREE); //test //thisTransform.position = thisTransform.position + Vector3.one*10f; thisRigidbody.AddForce(nextForce); expireTimer = new BasicTimer(1.5f, false); }