public HitPlane GenerateGlassHit() { var glassHit = new HitPlane(new Vertex3D(0, 0, -1), _data.GlassHeight); glassHit.SetElasticity(0.2f); return(glassHit); }
public HitPlane GenerateGlassHit(IItem item) { var glassHit = new HitPlane(new Vertex3D(0, 0, -1), _table.GlassHeight, item); glassHit.SetElasticity(0.2f); glassHit.ItemIndex = _table.Index; glassHit.ItemVersion = _table.Version; return(glassHit); }