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
-
explicit
ActorNode
(std::string const &name = "")¶
-
static TypeHandle
get_class_type
(void)¶
-
PhysicsObject *
get_physics_object
(void)¶
-
void
set_transform_limit
(PN_stdfloat limit)¶
-
void
update_transform
(void)¶ update the parent scene graph node with
PhysicsObject
information i.e. copy fromPhysicsObject
toPandaNode
this sets the transform generated by the contained Physical, moving the node and subsequent geometry. i.e. copy from
PhysicsObject
toPandaNode
-
explicit