14 #ifndef COLLISIONHANDLERPUSHER_H 15 #define COLLISIONHANDLERPUSHER_H 31 INLINE
void set_horizontal(
bool flag);
32 INLINE
bool get_horizontal()
const;
35 MAKE_PROPERTY(horizontal, get_horizontal, set_horizontal);
38 virtual bool handle_entries();
39 virtual void apply_net_shove(
40 ColliderDef &def,
const LVector3 &net_shove,
41 const LVector3 &force_normal);
42 virtual void apply_linear_force(ColliderDef &def,
const LVector3 &force);
51 static void init_type() {
52 CollisionHandlerPhysical::init_type();
54 CollisionHandlerPhysical::get_class_type());
57 return get_class_type();
59 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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.