39 INLINE
bool is_empty()
const;
40 INLINE dWorldID get_id()
const;
42 INLINE
void set_gravity(dReal x, dReal y, dReal z);
43 INLINE
void set_gravity(
const LVecBase3f &vec);
44 INLINE
void set_erp(dReal erp);
45 INLINE
void set_cfm(dReal cfm);
46 INLINE
void set_quick_step_num_iterations(
int num);
48 INLINE
void set_quick_step_w(dReal over_relaxation);
49 INLINE
void set_contact_max_correcting_vel(dReal vel);
50 INLINE
void set_contact_surface_layer(dReal depth);
51 INLINE
void set_auto_disable_linear_threshold(dReal linear_threshold);
52 INLINE
void set_auto_disable_angular_threshold(dReal angular_threshold);
53 INLINE
void set_auto_disable_steps(
int steps);
54 INLINE
void set_auto_disable_time(dReal time);
55 INLINE
void set_auto_disable_flag(
int do_auto_disable);
57 INLINE LVecBase3f get_gravity()
const;
58 INLINE dReal get_erp()
const;
59 INLINE dReal get_cfm()
const;
60 INLINE
int get_quick_step_num_iterations()
const;
61 INLINE dReal get_quick_step_w()
const;
62 INLINE dReal get_contact_max_correcting_vel()
const;
63 INLINE dReal get_contact_surface_layer()
const;
64 INLINE dReal get_auto_disable_linear_threshold()
const;
65 INLINE dReal get_auto_disable_angular_threshold()
const;
66 INLINE
int get_auto_disable_steps()
const;
67 INLINE dReal get_auto_disable_time()
const;
68 INLINE
int get_auto_disable_flag()
const;
70 INLINE LVecBase3f impulse_to_force(dReal stepsize, \
71 dReal ix, dReal iy, dReal iz);
72 INLINE LVecBase3f impulse_to_force(dReal stepsize, \
73 const LVecBase3f &impulse);
75 INLINE
void step(dReal stepsize);
76 INLINE
void quick_step(dReal stepsize);
80 void init_surface_table(uint8_t num_surfaces);
82 void add_body_dampening(
OdeBody& body,
int surface);
83 void set_surface_entry(uint8_t pos1, uint8_t pos2,
91 float apply_dampening(
float dt,
OdeBody& body);
93 operator bool ()
const;
99 void set_dampen_on_bodies(dBodyID id1, dBodyID id2,dReal damp);
105 uint8_t _num_surfaces;
119 TypedObject::get_class_type());
122 return get_class_type();
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...