DirectionToRotationNode

 

Introduced

7.0

UI Location

• Conversion

• Rotation

Description

Outputs a rotation built from two vectors that will align the Y axis to the Point At vector. The Up Vector value constrains the spin of the object around the Point At vector. The Up Vector is in the XY plane of the rotated space.

Note: Both input vectors must not be collinear (point in the same or oppposite directions) in order to validate a valid rotation.

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

pointat

Type: siICENodeDataVector3

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The vector the Y axis is aligned to after the rotation.

upvector

Type: siICENodeDataVector3

Structure: siICENodeStructureAny

Context: siICENodeContextAny

A vector that constrains the spin. That vector will be in the XY plane of the rotated space.

Outputs

Port Name

Connection Info

Description

rotation

Type: siICENodeDataRotation

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The output rotation.

valid

Type: siICENodeDataBool

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Indicates whether the input values define a valid rotation. A rotation is invalid when both Point At and Up Vector values are collinear (point in the same or oppposite directions).

Restrictions

• These structures must match: pointat, upvector, rotation, valid

• These contexts must match: pointat, upvector, rotation, valid

See Also

AxisAndAngleToRotationNode

EulerToRotationNode

QuaternionToRotationNode

RotationNode

RotationToAxisAndAngleNode

RotationToEulerNode

RotationToQuaternionNode

RotationToScalarNode

ScalarToRotationNode

 

 

 



Autodesk Softimage v7.5