panda3d.physics.ActorNode

from panda3d.physics import ActorNode
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

Constructor

getPhysicsObject() → PhysicsObject
Return type

PhysicsObject

setContactVector(contact_vector: LVector3) → None
getContactVector() → LVector3
Return type

LVector3

updateTransform() → None

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

setTransformLimit(limit: float) → None
static getClassType() → TypeHandle
Return type

TypeHandle