public override void OnRemovalFromSpace(BEPUphysics.ISpace oldSpace) { base.OnRemovalFromSpace(oldSpace); foreach (Laser l in lasers) { oldSpace.Remove(l); } }
public override void OnRemovalFromSpace(BEPUphysics.ISpace oldSpace) { base.OnRemovalFromSpace(oldSpace); foreach (Door d in doors) { oldSpace.Remove(d); } }
public override void OnAdditionToSpace(BEPUphysics.ISpace newSpace) { base.OnAdditionToSpace(newSpace); newSpace.Add(r1); newSpace.Add(r2); if (Inactive) { newSpace.Remove(this); } }
public override void OnRemovalFromSpace(BEPUphysics.ISpace oldSpace) { base.OnRemovalFromSpace(oldSpace); oldSpace.Remove(lineJoint); }