class ActorNode

Bases: PhysicalNode

Like a physical node, but with a little more. The actornode assumes responsibility for its own transform, and changes in its own PhysicsObject will be reflected as transforms. This relation goes both ways; changes in the transform will update the object’s position (shoves).

Inheritance diagram

Inheritance diagram of ActorNode

__init__(copy: ActorNode) → None

Copy Constructor.

__init__(name: str) → None


static getClassType() → TypeHandle
Return type


getContactVector() → LVector3
Return type


getPhysicsObject() → PhysicsObject
Return type


setContactVector(contact_vector: LVector3) → None
setTransformLimit(limit: float) → None
updateTransform() → None

this sets the transform generated by the contained Physical, moving the node and subsequent geometry. i.e. copy from PhysicsObject to PandaNode