15 #ifndef COLLISIONHANDLERPUSHER_H 16 #define COLLISIONHANDLERPUSHER_H 18 #include "pandabase.h" 20 #include "collisionHandlerPhysical.h" 34 INLINE
void set_horizontal(
bool flag);
35 INLINE
bool get_horizontal()
const;
38 virtual bool handle_entries();
39 virtual void apply_net_shove(
40 ColliderDef &def,
const LVector3 &net_shove,
42 virtual void apply_linear_force(ColliderDef &def,
const LVector3 &force);
51 static void init_type() {
52 CollisionHandlerPhysical::init_type();
53 register_type(_type_handle,
"CollisionHandlerPusher",
54 CollisionHandlerPhysical::get_class_type());
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
65 #include "collisionHandlerPusher.I" This is a three-component vector distance (as opposed to a three-component point, which represents a ...
The abstract base class for a number of CollisionHandlers that have some physical effect on their mov...
A specialized kind of CollisionHandler that simply pushes back on things that attempt to move into so...
TypeHandle is the identifier used to differentiate C++ class types.