39 INLINE
void set_anchor(dReal x, dReal y, dReal z);
40 INLINE
void set_anchor(
const LVecBase3f &anchor);
41 INLINE
void set_axis1(dReal x, dReal y, dReal z);
42 INLINE
void set_axis1(
const LVecBase3f &axis);
43 INLINE
void set_axis2(dReal x, dReal y, dReal z);
44 INLINE
void set_axis2(
const LVecBase3f &axis);
45 INLINE
void add_torques(dReal torque1, dReal torque2);
47 INLINE LVecBase3f get_anchor()
const;
48 INLINE LVecBase3f get_anchor2()
const;
49 INLINE LVecBase3f get_axis1()
const;
50 INLINE LVecBase3f get_axis2()
const;
51 INLINE dReal get_angle1()
const;
52 INLINE dReal get_angle1_rate()
const;
53 INLINE dReal get_angle2_rate()
const;
55 INLINE
void set_param_lo_stop(
int axis, dReal val);
56 INLINE
void set_param_hi_stop(
int axis, dReal val);
57 INLINE
void set_param_vel(
int axis, dReal val);
58 INLINE
void set_param_f_max(
int axis, dReal val);
59 INLINE
void set_param_fudge_factor(
int axis, dReal val);
60 INLINE
void set_param_bounce(
int axis, dReal val);
61 INLINE
void set_param_CFM(
int axis, dReal val);
62 INLINE
void set_param_stop_ERP(
int axis, dReal val);
63 INLINE
void set_param_stop_CFM(
int axis, dReal val);
64 INLINE
void set_param_suspension_ERP(
int axis, dReal val);
65 INLINE
void set_param_suspension_CFM(
int axis, dReal val);
67 INLINE dReal get_param_lo_stop(
int axis)
const;
68 INLINE dReal get_param_hi_stop(
int axis)
const;
69 INLINE dReal get_param_vel(
int axis)
const;
70 INLINE dReal get_param_f_max(
int axis)
const;
71 INLINE dReal get_param_fudge_factor(
int axis)
const;
72 INLINE dReal get_param_bounce(
int axis)
const;
73 INLINE dReal get_param_CFM(
int axis)
const;
74 INLINE dReal get_param_stop_ERP(
int axis)
const;
75 INLINE dReal get_param_stop_CFM(
int axis)
const;
76 INLINE dReal get_param_suspension_ERP(
int axis)
const;
77 INLINE dReal get_param_suspension_CFM(
int axis)
const;
83 static void init_type() {
84 OdeJoint::init_type();
86 OdeJoint::get_class_type());
89 return get_class_type();
91 virtual TypeHandle force_init_type() {init_type();
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(),...