public static void PullBack(float speed, ref PlungerVelocityData velocityData, ref PlungerMovementData movementData) { movementData.Speed = 0.0f; velocityData.PullForce = speed; // deactivate the retract code velocityData.AddRetractMotion = false; }
public static void Fire(float startPos, ref PlungerVelocityData velocityData, ref PlungerMovementData movementData, in PlungerStaticData staticData)