Vizard 7 » Command Index » Vizard objects » controlpoint » <controlpoint>.setEuler
7.6

<controlpoint>.setEuler

Set the euler rotation of the control point

<controlpoint>.setEuler(  
[yaw,pitch,roll]  
)  
[yaw,pitch,roll]
Specifies either the yaw Euler angle or the x component of the rotation axis.

Remarks

Set the euler rotation of this control point. If you don't specify a rotation value then this control point will not affect the rotation of the path.

Return Value

None

Example

cp = viz.addControlPoint()
#The euler rotation at this control point will be (45,0,0)
cp.setEuler([45,0,0])

See also

<controlpoint>.setRotateMode
<controlpoint>.setQuat