Runs when a model is started, either initialized or resumed. The hasModel argument distinguishes between these two cases, though modelPreSetup or modelPostSetup are preferred for hooking the initialization of a new model.
Required Parameters
model — Helipad
The model object
hasModel — bool
Corresponds to
model.hasModel;Trueif the model is resuming, andFalseifmodel.start()initializes a new model.
Notes and Examples