CConstrainTransformInterval

from panda3d.direct import CConstrainTransformInterval
class CConstrainTransformInterval

Bases:

Bases: CConstraintInterval

A constraint interval that will constrain the transform of one node to the transform of another.

Inheritance diagram

Inheritance diagram of CConstrainTransformInterval

__init__(param0: CConstrainTransformInterval)
__init__(name: str, duration: float, node: panda3d.core.NodePath, target: panda3d.core.NodePath, wrt: bool)

Constructs a constraint interval that will constrain the transform of one node to the transform of another. To clarify, the transform of node will be copied to target.

If wrt is true, the node’s transform will be transformed into the target node’s parent’s space before being copied. If wrt is false, the node’s local transform will be copied unaltered.

static get_class_type() panda3d.core.TypeHandle
get_node() panda3d.core.NodePath

Returns the “source” node.

get_target() panda3d.core.NodePath

Returns the “target” node.