14
Content.Shared/Physics/VaporController.cs
Normal file
14
Content.Shared/Physics/VaporController.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
#nullable enable
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Physics;
|
||||
|
||||
namespace Content.Shared.Physics
|
||||
{
|
||||
public class VaporController : VirtualController
|
||||
{
|
||||
public void Move(Vector2 velocityDirection, float speed)
|
||||
{
|
||||
LinearVelocity = velocityDirection * speed;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user