rigidbody, forces and collision testing
This commit is contained in:
10
PhysicsEngine/Physics/Forces/DragForce.cs
Normal file
10
PhysicsEngine/Physics/Forces/DragForce.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace PhysicsEngine
|
||||
{
|
||||
public static class DragForce
|
||||
{
|
||||
public static void Apply(Body body, float dt)
|
||||
{
|
||||
body.ApplyAerodynamicDrag(dt);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user