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

<controlpoint>.setQuat

Set the quaternion rotation value of the control point

<controlpoint>.setQuat(  
[x,y,z,w]  
)  
[x,y,z,w]
The four numbers representing a Quaternion.

Remarks

Set the rotation value 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()
cp.setQuat([0,0,0,1])

See also

<controlpoint>.setRotateMode
<controlpoint>.setEuler