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
-
__init__
(name: str) Constructor
-
static
getClassType
() → panda3d.core.TypeHandle¶
-
getContactVector
() → panda3d.core.LVector3¶
-
getPhysicsObject
() → PhysicsObject¶
-
setContactVector
(contact_vector: panda3d.core.LVector3)¶
-
updateTransform
()¶ this sets the transform generated by the contained Physical, moving the node and subsequent geometry. i.e. copy from
PhysicsObject
toPandaNode
-