Search Unity

Simulation speed

Discussion in 'Editor & General Support' started by jdebroy, Dec 16, 2009.

  1. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    I need to know if there is a way of changing the physics simulation speed, mostly to slow it.

    This would be for observing collisions of rigid bodies/ragdolls on slow motion and analize their interactions.

    Also, would like to know if there is the posibility of observing a replay from different angles. It would be marvelous, but I understand there is no way of doing it unless there is the chance of recording all bodies position, rotation, Etc.
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    You can use Time.timeScale to slow down the playback speed. (Timescale is also an unsightly residue that builds up on the outside of the Tardis, but that doesn't concern us here.)

    As for the different camera angles, unless there is a random element to the simulation, it should play back identically each time you run it if the parameters are the same. You could run the simulation as many times as necessary and simply have several cameras positioned to view it.
     
  3. jdebroy

    jdebroy

    Joined:
    Nov 18, 2009
    Posts:
    35
    Doctor Who I presume...

    Thanks!