Unstable v0.1100.0.4 (November 11th 2020)
This commit is contained in:
@@ -254,6 +254,8 @@ namespace Barotrauma
|
||||
/// </summary>
|
||||
public float TransformedRotation => TransformRotation(Rotation, Dir);
|
||||
|
||||
public float TransformRotation(float rotation) => TransformRotation(rotation, dir);
|
||||
|
||||
public static float TransformRotation(float rot, float dir) => dir < 0 ? rot - MathHelper.Pi : rot;
|
||||
|
||||
public Vector2 LinearVelocity
|
||||
|
||||
Reference in New Issue
Block a user