14#ifndef PHYSXACTORDESC_H
15#define PHYSXACTORDESC_H
28class EXPCL_PANDAPHYSX PhysxActorDesc {
31 INLINE PhysxActorDesc();
32 INLINE ~PhysxActorDesc();
LMatrix4f get_global_mat() const
Returns the actor's transform in global space.
void set_density(float density)
Set the density used during mass/intertia computation.
void set_body(PhysxBodyDesc &desc)
Sets the body descriptor for this actor.
void set_global_mat(const LMatrix4f &mat)
Set the position and orientation of the actor in global space.
void set_name(const char *name)
Sets the optional debug name for the actor.
LPoint3f get_global_pos() const
Returns the actor's position in global space.
bool is_valid() const
Returns true if the descriptor is valid.
const char * get_name() const
Returns the optional debug name for this actor.
void set_global_pos(const LPoint3f &pos)
Set the position of the actor in global space.
float get_density() const
Returns the actor's density.
void set_to_default()
(re)sets the structure to the default.
PhysxBodyDesc get_body() const
Gets the body descriptor for this actor.
void add_shape(PhysxShapeDesc &desc)
Adds a shape to the list of collision shapes composing this actor.
void set_global_hpr(float h, float p, float r)
Sets the orientation of the actor in global space by providing angles for heading,...
Descriptor for the optional rigid body dynamic state of PhysxActor.
Abstract base class for shape descriptors.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.