Code: Select all
Position pos = player.Position;
return this.container.Contains(pos.GetFixed()) || this.container.Contains(pos) || this.container.Contains(pos.ToVector3I());
container contains 2 position, 1 from the bottom left corner, 1 from the top right corner.
When i stand inside the boundingbox ingame nothing happens, no log message or anything, tried to debug it already.