Changes between Version 3 and Version 4 of PerformanceAndOptimization


Ignore:
Timestamp:
2012-01-20 11:51:56 (10 years ago)
Author:
edy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PerformanceAndOptimization

    v3 v4  
    1010- The Skidmarks are generated as a single mesh containing all the visible skidmarks for the scene (_Hierarchy: World > Skidmarks_). Each time a new skidmark is generated, the entire mesh is disposed and re-generated. Note that this is the skidmarks script from the Unity's Car Tutorial with a few minor adjustments. You can adjust the maximum mesh size for the skidmarks with the property __MaxMarks__. 
    1111- The smoke is just a particle emmiter (_Hierarchy: World > Skidmarks > SkidSmoke_), so it's up to Unity's particle system. Particles are generated and disposed as they go through their life cycle. You can adjust the number of particles with the properties __MinEmission__ and __MaxEmission__, and their duration in seconds with __MinEnery__ and __MaxEnergy__. 
     12 
     13[CarVisuals](wiki:CarVisuals) offers two flags __disableRaycast__ and __disableWheelVisuals__ which can be used on vehicles parked, computer-controlled, or outside the visual range. Note that _disableWheelVisuals_ also affects the audio, as it depends on wheel's rotation rate. 
    1214 
    1315## Optimizing the friction curves