ActorNode
-
class ActorNode
Bases:
PhysicalNodeLike a physical node, but with a little more. The actornode assumes responsibility for its own transform, and changes in its own
PhysicsObjectwill 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
PhysicsObjectinformation i.e. copy fromPhysicsObjecttoPandaNodethis sets the transform generated by the contained Physical, moving the node and subsequent geometry. i.e. copy from
PhysicsObjecttoPandaNode
-
explicit ActorNode(std::string const &name = "")
