OnBeginSimulation function

Learn technical details about the OnBeginSimulation function.