Characters that are outside are rendered under particles -> creatures can be hidden by smoke from hydrothermal vents.

This commit is contained in:
Joonas Rikkonen
2017-08-22 19:06:29 +03:00
parent 15a31c5291
commit 65211ecbb6
3 changed files with 50 additions and 12 deletions
@@ -151,12 +151,14 @@ namespace Barotrauma
public Rectangle Borders
{
get
{
return subBody.Borders;
}
get { return subBody.Borders; }
}
public Rectangle WorldBorders
{
get { return SubBody.WorldBorders; }
}
public override Vector2 Position
{
get { return subBody==null ? Vector2.Zero : subBody.Position - HiddenSubPosition; }