예제 #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;
 }
예제 #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;
 }