PHY UPDATE Used to update the simulation.
Syntax
    PHY UPDATE
    PHY UPDATE mode
Parameters
    mode
Integer the update mode, use a value of 0 to handle simulation and 1 to handle fetching of data
Returns
Description
Call this command to allow the physics engine to process the simulation and update your objects within the scene. It is recommended to call this command once per main program loop. A good location would be just before calling the sync command that updates the display. If this command is called multiple times per main program loop it will increase the amount of processing being carried out by the physics engine and in doing so have a significant impact on the frame rate. It will also affect the results of the simulation. Be careful to ensure this command is not called multiple times per program loop. Note that if this command is not called objects positions and other data will not be updated and you will not get to see the results of the simulation on screen. An alternative to the default phy update is supplied that allows you to run the simulation asyncronously. This is the recommended method for getting the best performance but to use it requires a different approach to calling the default phy update. This method allows a simulation mode parameter being passed into phy update. This parameter controls whether phy update is going to simulate or fetch data. The process to use this involves calling phy update and passing in 0 directly after phy start is called. In the main update call phy update 1 and then phy update 0 before sync. Finally at the end of the program call phy update 1. Using this method of updating can have a significant improvement on performance and it is demonstrated in the PhysX PPU demos ( note that the PhysX PPU is not a requirement to use this method of updating ).
Example Code

    No example code is provided for this command