bruh
This commit is contained in:
1 parent
0d5e6b6dec
commit
c12d653cbc
647 files changed
+194585
-117
No files matched your search
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Gameplay.Character.Controller
|
||||
{
|
||||
public class AirMovementSystem
|
||||
{
|
||||
private readonly Vector3 _gravity;
|
||||
|
||||
public AirMovementSystem(Vector3 gravity)
|
||||
{
|
||||
_gravity = gravity;
|
||||
}
|
||||
|
||||
public void UpdateVelocity(ref Vector3 currentVelocity, float deltaTime)
|
||||
{
|
||||
currentVelocity += _gravity * deltaTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user