14#ifndef PHYSXCAPSULEFORCEFIELDSHAPEDESC_H
15#define PHYSXCAPSULEFORCEFIELDSHAPEDESC_H
25class EXPCL_PANDAPHYSX PhysxCapsuleForceFieldShapeDesc :
public PhysxForceFieldShapeDesc {
28 INLINE PhysxCapsuleForceFieldShapeDesc();
29 INLINE ~PhysxCapsuleForceFieldShapeDesc();
41 NxForceFieldShapeDesc *ptr()
const {
return (NxForceFieldShapeDesc *)&_desc; };
42 NxCapsuleForceFieldShapeDesc _desc;
bool is_valid() const
Returns true if the descriptor is valid.
void set_to_default()
(re)sets the structure to the default.
float get_radius() const
The radius of the capsule's hemispherical ends and its trunk.
void set_height(float height)
Sets the distance between the two hemispherical ends of the capsule.
float get_height() const
The distance between the two hemispherical ends of the capsule.
void set_radius(float radius)
Sets the radius of the capsule's hemispherical ends and its trunk.
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.