Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useVirtualParticles

Add one virtual particle per triangle to improve collision stability.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ClothModule
public float useVirtualParticles { get; set; }

Remarks

Virtual particles provide a way of improving cloth collision without increasing the cloth resolution. They are called 'virtual' particles because they only exist during the collision processing stage and do not have their position, velocity or mass explicitly stored like regular particles, they can be thought of as providing additional samples on the collision surface.