Skip to content

ConstraintTarget

ConstraintTarget#

(Target)

No corresponding User page.

Description#

Orients the object to face the selected target.

Public Attributes#

Type Name Visual Hint Description
reference (SceneItem) target VISUAL_HINT_DEFAULT Set the scene item used as target.
double[3] aim_vector VISUAL_HINT_DEFAULT Specify the vector aiming on the target.
double[3] up_vector VISUAL_HINT_DEFAULT Specify the vector pointing up.

Inherited Public Attributes#

Type Name Visual Hint Description
double weight VISUAL_HINT_PERCENTAGE Set the weight of the constraint. With a value of 50% the item will be half way constraint position.

CID#

class "ConstraintTarget" "Constraint" {
    #version 0.9
    icon "../icons/object_icons/constraint_target.iconrc"
    doc "Orients the object to face the selected target."
    reference "target" {
        doc "Set the scene item used as target."
        filter "SceneItem"
        input "motion"
        output "motion"
        value ""
    }
    double[3] "aim_vector" {
        doc "Specify the vector aiming on the target."
        animatable yes
        value 0.0 0.0 -1
    }
    double[3] "up_vector" {
        doc "Specify the vector pointing up."
        animatable yes
        value 0.0 1 0.0
    }
}