Very unfinished attempt at changing the coordinate system to work relative to the level and to move the sub instead of the whole level
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Barotrauma
|
||||
{
|
||||
Vector2 position = level.PositionsOfInterest[Rand.Int(level.PositionsOfInterest.Count, false)];
|
||||
|
||||
monster = Character.Create(monsterFile, ConvertUnits.ToSimUnits(position+level.Position));
|
||||
monster = Character.Create(monsterFile, ConvertUnits.ToSimUnits(position));
|
||||
}
|
||||
|
||||
public override void Update(float deltaTime)
|
||||
|
||||
Reference in New Issue
Block a user