/// <summary> /// Adds the object to the physics world at the end of the update cycle. /// </summary> /// <param name="Object"> The object to be added. </param> public void AddObject(BulletPhysicsComponent Object) { ToAdd.Enqueue(Object); }
/// <summary> /// Removes an object from the physics world at the end of the update cycle. /// </summary> /// <param name="Object"> The object to be removed. </param> public void RemoveObject(BulletPhysicsComponent Object) { ToRemove.Enqueue(Object); }