VfxFacingModeCameraFacingDirectionOriented
Inheritance 1 ancestor · 5 siblings
- VfxShimmerFacingMode
- VfxFacingModeCameraAligned
- VfxFacingModeCameraFacing
- VfxFacingModeCameraFacingDirectionOrientedcurrent
- VfxFacingModeCameraFacingPerAxis
- VfxFacingModeCameraFacingRotationOriented
- VfxFacingModeViewAligned
Class Documentation
Edit documentationA facing mode that lines each particle up with its direction of travel and turns it about that axis to face the camera. The axis is the particle's last non-zero displacement. A quad runs along the direction of travel, and a mesh points its local -X along it.
Only VfxModularPhysicsComponent records that
direction, and only when IsDirectionVelocityOriented or
IsDirectionVelocityOrientedOnSpawn is set. Without a recorded direction, the mode
leaves the particle's transform unchanged.
The particle's own rotation is applied inside that frame.