Page History
...
These functions are available when you enable enable Use Script in the Simulation rollout of a Phoenix Simulator.
...
Function | Description |
OnSimulationBegin | Called after the initialization of the simulator is done and before first execution. |
OnSimulationStep | Called before each simulation step, after the interaction with the scene. |
OnSimulationEnd | Called after the end of the simulation. The simulation core, referred to by the 'this' variable, would be already destroyed during this callback so it should not be accessed. |
OnNewFrame | Called after each frame export. |
...
Global Variables
...
The following global variables are initialized before entry in the callback functions:
...