33 INLINE
void set_almost_stationary_speed(PN_stdfloat speed);
34 INLINE PN_stdfloat get_almost_stationary_speed();
36 INLINE
void set_static_friction_coef(PN_stdfloat coef);
37 INLINE PN_stdfloat get_static_friction_coef();
39 INLINE
void set_dynamic_friction_coef(PN_stdfloat coef);
40 INLINE PN_stdfloat get_dynamic_friction_coef();
43 PN_stdfloat _almost_stationary_speed;
44 PN_stdfloat _static_friction_coef;
45 PN_stdfloat _dynamic_friction_coef;
48 ColliderDef &def, LVector3 &vel,
const LVector3& force, PN_stdfloat angle);
49 virtual void apply_net_shove(
50 ColliderDef &def,
const LVector3 &net_shove,
51 const LVector3 &force_normal);
52 virtual void apply_linear_force(ColliderDef &def,
const LVector3 &force);
54 virtual bool validate_target(
const NodePath &target);
60 static void init_type() {
61 CollisionHandlerPusher::init_type();
63 CollisionHandlerPusher::get_class_type());
66 return get_class_type();
68 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(),...