CharacterJoint

from panda3d.core import CharacterJoint
class CharacterJoint

Bases: MovingPartMatrix

This represents one joint of the character’s animation, containing an animating transform matrix.

Inheritance diagram

Inheritance diagram of CharacterJoint

__init__(*args, **kwargs)
addLocalTransform()

C++ Interface: add_local_transform(const CharacterJoint self, PandaNode node)

/**
  • Adds the indicated node to the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent. Returns true if

  • the node is successfully added, false if it had already been added.

  • The Character pointer should be the Character object that owns this joint;

  • this will be used to create a CharacterJointEffect for this node. If it is

  • NULL, no such effect will be created.

  • A CharacterJointEffect for this joint’s Character will automatically be

  • added to the specified node.

*/

addNetTransform()

C++ Interface: add_net_transform(const CharacterJoint self, PandaNode node)

/**
  • Adds the indicated node to the list of nodes that will be updated each

  • frame with the joint’s net transform from the root. Returns true if the

  • node is successfully added, false if it had already been added.

  • A CharacterJointEffect for this joint’s Character will automatically be

  • added to the specified node.

*/

add_local_transform()

C++ Interface: add_local_transform(const CharacterJoint self, PandaNode node)

/**
  • Adds the indicated node to the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent. Returns true if

  • the node is successfully added, false if it had already been added.

  • The Character pointer should be the Character object that owns this joint;

  • this will be used to create a CharacterJointEffect for this node. If it is

  • NULL, no such effect will be created.

  • A CharacterJointEffect for this joint’s Character will automatically be

  • added to the specified node.

*/

add_net_transform()

C++ Interface: add_net_transform(const CharacterJoint self, PandaNode node)

/**
  • Adds the indicated node to the list of nodes that will be updated each

  • frame with the joint’s net transform from the root. Returns true if the

  • node is successfully added, false if it had already been added.

  • A CharacterJointEffect for this joint’s Character will automatically be

  • added to the specified node.

*/

clearLocalTransforms()

C++ Interface: clear_local_transforms(const CharacterJoint self)

/**
  • Removes all nodes from the list of nodes that will be updated each frame

  • with the joint’s local transform from its parent.

*/

clearNetTransforms()

C++ Interface: clear_net_transforms(const CharacterJoint self)

/**
  • Removes all nodes from the list of nodes that will be updated each frame

  • with the joint’s net transform from the root.

*/

clear_local_transforms()

C++ Interface: clear_local_transforms(const CharacterJoint self)

/**
  • Removes all nodes from the list of nodes that will be updated each frame

  • with the joint’s local transform from its parent.

*/

clear_net_transforms()

C++ Interface: clear_net_transforms(const CharacterJoint self)

/**
  • Removes all nodes from the list of nodes that will be updated each frame

  • with the joint’s net transform from the root.

*/

getCharacter()

C++ Interface: get_character(CharacterJoint self)

/**
  • Returns the Character that owns this joint.

*/

getClassType()

C++ Interface: get_class_type()

getLocalTransforms()

C++ Interface: get_local_transforms(const CharacterJoint self)

/**
  • Returns a list of the local transforms set for this node. Note that this

  • returns a list of NodePaths, even though the local transforms are actually

  • a list of PandaNodes.

*/

getNetTransform()

C++ Interface: get_net_transform(CharacterJoint self, LMatrix4f transform)

/**
  • Copies the joint’s current net transform (composed from the root of the

  • character joint hierarchy) into the indicated matrix.

*/

getNetTransforms()

C++ Interface: get_net_transforms(const CharacterJoint self)

/**
  • Returns a list of the net transforms set for this node. Note that this

  • returns a list of NodePaths, even though the net transforms are actually a

  • list of PandaNodes.

*/

getTransform()

C++ Interface: get_transform(CharacterJoint self) get_transform(CharacterJoint self, LMatrix4f transform)

/**
  • Returns the transform matrix of the joint

*/

/**
  • Copies the joint’s current transform into the indicated matrix.

*/

getTransformState()

C++ Interface: get_transform_state(CharacterJoint self)

get_character()

C++ Interface: get_character(CharacterJoint self)

/**
  • Returns the Character that owns this joint.

*/

get_class_type()

C++ Interface: get_class_type()

get_local_transforms()

C++ Interface: get_local_transforms(const CharacterJoint self)

/**
  • Returns a list of the local transforms set for this node. Note that this

  • returns a list of NodePaths, even though the local transforms are actually

  • a list of PandaNodes.

*/

get_net_transform()

C++ Interface: get_net_transform(CharacterJoint self, LMatrix4f transform)

/**
  • Copies the joint’s current net transform (composed from the root of the

  • character joint hierarchy) into the indicated matrix.

*/

get_net_transforms()

C++ Interface: get_net_transforms(const CharacterJoint self)

/**
  • Returns a list of the net transforms set for this node. Note that this

  • returns a list of NodePaths, even though the net transforms are actually a

  • list of PandaNodes.

*/

get_transform()

C++ Interface: get_transform(CharacterJoint self) get_transform(CharacterJoint self, LMatrix4f transform)

/**
  • Returns the transform matrix of the joint

*/

/**
  • Copies the joint’s current transform into the indicated matrix.

*/

get_transform_state()

C++ Interface: get_transform_state(CharacterJoint self)

hasLocalTransform()

C++ Interface: has_local_transform(CharacterJoint self, PandaNode node)

/**
  • Returns true if the node is on the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent, false otherwise.

*/

hasNetTransform()

C++ Interface: has_net_transform(CharacterJoint self, PandaNode node)

/**
  • Returns true if the node is on the list of nodes that will be updated each

  • frame with the joint’s net transform from the root, false otherwise.

*/

has_local_transform()

C++ Interface: has_local_transform(CharacterJoint self, PandaNode node)

/**
  • Returns true if the node is on the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent, false otherwise.

*/

has_net_transform()

C++ Interface: has_net_transform(CharacterJoint self, PandaNode node)

/**
  • Returns true if the node is on the list of nodes that will be updated each

  • frame with the joint’s net transform from the root, false otherwise.

*/

removeLocalTransform()

C++ Interface: remove_local_transform(const CharacterJoint self, PandaNode node)

/**
  • Removes the indicated node from the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent. Returns true if

  • the node is successfully removed, false if it was not on the list.

  • If the node has a CharacterJointEffect that matches this joint’s Character,

  • it will be cleared.

*/

removeNetTransform()

C++ Interface: remove_net_transform(const CharacterJoint self, PandaNode node)

/**
  • Removes the indicated node from the list of nodes that will be updated each

  • frame with the joint’s net transform from the root. Returns true if the

  • node is successfully removed, false if it was not on the list.

  • If the node has a CharacterJointEffect that matches this joint’s Character,

  • it will be cleared.

*/

remove_local_transform()

C++ Interface: remove_local_transform(const CharacterJoint self, PandaNode node)

/**
  • Removes the indicated node from the list of nodes that will be updated each

  • frame with the joint’s local transform from its parent. Returns true if

  • the node is successfully removed, false if it was not on the list.

  • If the node has a CharacterJointEffect that matches this joint’s Character,

  • it will be cleared.

*/

remove_net_transform()

C++ Interface: remove_net_transform(const CharacterJoint self, PandaNode node)

/**
  • Removes the indicated node from the list of nodes that will be updated each

  • frame with the joint’s net transform from the root. Returns true if the

  • node is successfully removed, false if it was not on the list.

  • If the node has a CharacterJointEffect that matches this joint’s Character,

  • it will be cleared.

*/