Beispiel #1
0
 public FullChunkObject(Vector3 pos, BlockInternal[] blocks)
 {
     ChunkShape          = new FullChunkShape(blocks);
     base.Shape          = ChunkShape;
     Position            = pos;
     boundingBox         = new BoundingBox(Position, Position + new Vector3(30, 30, 30));
     Events              = new ContactEventManager <FullChunkObject>(this);
     Material.Bounciness = 0.75f;
 }
Beispiel #2
0
 public FullChunkObject(Vector3 pos, BlockInternal[] blocks)
 {
     ChunkShape = new FullChunkShape(blocks);
     base.Shape = ChunkShape;
     Position = pos;
     boundingBox = new BoundingBox(Position, Position + new Vector3(30, 30, 30));
     Events = new ContactEventManager<FullChunkObject>(this);
     Material.Bounciness = 0.75f;
 }