409d4d9...aeafa16 (merge human-ai)
This commit is contained in:
@@ -242,6 +242,11 @@ namespace Barotrauma
|
||||
get { return body.Rotation; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Takes flipping (Dir) into account.
|
||||
/// </summary>
|
||||
public float TransformedRotation => Dir < 0 ? Rotation - MathHelper.Pi : Rotation;
|
||||
|
||||
public Vector2 LinearVelocity
|
||||
{
|
||||
get { return body.LinearVelocity; }
|
||||
|
||||
Reference in New Issue
Block a user