14 #ifndef PHYSXFORCEFIELDDESC_H 15 #define PHYSXFORCEFIELDDESC_H 36 INLINE
void set_to_default();
37 INLINE
bool is_valid()
const;
39 void set_name(
const char *name);
40 void set_pos(
const LPoint3f &pos);
41 void set_mat(
const LMatrix4f &mat);
42 void set_hpr(
float h,
float p,
float r);
43 void set_coordinates(PhysxForceFieldCoordinates coordinates);
46 void set_kernel_constant(
const LVector3f &constant);
47 void set_kernel_position_target(
const LPoint3f &target);
48 void set_kernel_position_multiplier(
const LMatrix3f &multiplier);
49 void set_kernel_velocity_target(
const LVector3f &target);
50 void set_kernel_velocity_multiplier(
const LMatrix3f &multiplier);
51 void set_kernel_torus_radius(
float radius);
52 void set_kernel_falloff_linear(
const LVector3f &falloff);
53 void set_kernel_falloff_quadratic(
const LVector3f &falloff);
54 void set_kernel_noise(
const LVector3f &noise);
60 void create_kernel(NxScene *scenePtr);
62 NxForceFieldDesc _desc;
63 NxForceFieldLinearKernelDesc _kernel;
71 #endif // PHYSXFORCEFIELDDESC_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for descriptors for force field shapes descriptors.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Descriptor class for force fields.
This class exists just to provide scoping for the enums shared by PhysX classes.
Actors are the main simulation objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.