rotateWithStretchDirection
Rotate the particles based on the direction they are stretched in. This is added on top of other particle rotation.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public bool rotateWithStretchDirection { get; set; }
Remarks
This property only has effect when _freeformStretching is enabled. When _freeformStretching is disabled, particles are always rotated based on the direction they are stretched in, even if _rotateWithStretchDirection is false.