Garry's Mod Wiki

CNewParticleEffect:SetControlPointOrientation

  CNewParticleEffect:SetControlPointOrientation( number cpID, Vector forward, Vector right, Vector up )

Description

Sets the orientation for given control point.

Arguments

1 number cpID
The control point ID, 0 to 63.
2 Vector forward
The forward direction for given control point.

This can also be an Angle, in which case the other 2 arguments are not used.

3 Vector right
The right direction for given control point
4 Vector up
The up direction for given control point