15 #ifndef PHYSXFORCEFIELDDESC_H
16 #define PHYSXFORCEFIELDDESC_H
18 #include "pandabase.h"
21 #include "physxEnums.h"
22 #include "physx_includes.h"
36 INLINE ~PhysxForceFieldDesc();
38 INLINE
void set_to_default();
39 INLINE
bool is_valid()
const;
41 void set_name(
const char *name);
44 void set_hpr(
float h,
float p,
float r);
45 void set_coordinates(PhysxForceFieldCoordinates coordinates);
48 void set_kernel_constant(
const LVector3f &constant);
49 void set_kernel_position_target(
const LPoint3f &target);
50 void set_kernel_position_multiplier(
const LMatrix3f &multiplier);
51 void set_kernel_velocity_target(
const LVector3f &target);
52 void set_kernel_velocity_multiplier(
const LMatrix3f &multiplier);
53 void set_kernel_torus_radius(
float radius);
54 void set_kernel_falloff_linear(
const LVector3f &falloff);
55 void set_kernel_falloff_quadratic(
const LVector3f &falloff);
56 void set_kernel_noise(
const LVector3f &noise);
62 void create_kernel(NxScene *scenePtr);
64 NxForceFieldDesc _desc;
65 NxForceFieldLinearKernelDesc _kernel;
71 #include "physxForceFieldDesc.I"
73 #endif // PHYSXFORCEFIELDDESC_H
Abstract base class for descriptors for force field shapes descriptors.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Descriptor class for force fields.
This class exists just to provide scoping for the enums shared by PhysX classes.
This is a 4-by-4 transform matrix.
Actors are the main simulation objects.
This is a 3-by-3 transform matrix.