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