panda3d.core.JointVertexTransform

from panda3d.core import JointVertexTransform
class JointVertexTransform

Bases: VertexTransform

This is a specialization on VertexTransform that returns the transform necessary to move vertices as if they were assigned to the indicated joint. The geometry itself should be parented to the scene graph at the level of the character’s root joint; that is, it should not be parented under a node directly animated by any joints.

Multiple combinations of these with different weights are used to implement soft-skinned vertices for an animated character.

Inheritance diagram

Inheritance diagram of JointVertexTransform

__init__(joint: CharacterJoint) → None

Constructs a new object that converts vertices from the indicated joint’s coordinate space, into the other indicated joint’s space.

static getClassType() → TypeHandle
Return type

TypeHandle

getJoint() → CharacterJoint

Returns the joint for which this object returns the transform.

Return type

CharacterJoint