public override void RemovePrim(PhysicsActor prim) { //Add the prim to a queue which will be removed when Simulate has finished what it's doing. RemoveQueue.Enqueue(prim); }