public void RemoveObject(PhysicsObject obj) { Objects.Remove(obj); obj.RemoveFromWorld(); }
public void AddObject(PhysicsObject obj) { Objects.Add(obj); obj.AddToWorld(); obj.SetupJoints(world); }