79425550

Date: 2025-02-09 19:23:02
Score: 2
Natty:
Report link

in Update() you should use Time.deltaTime, which is The interval in seconds from the last frame to the current one (https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Time-deltaTime.html), without it speed can be faster on higher fps

rb.linearVelocity = Time.deltaTime * transform.right * velocity * 3f;
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Даниил Галинский