CollisionHandlerPusher

class CollisionHandlerPusher

Bases: CollisionHandlerPhysical

A specialized kind of CollisionHandler that simply pushes back on things that attempt to move into solid walls. This is the simplest kind of “real- world” collisions you can have.

Inheritance diagram

Inheritance diagram of CollisionHandlerPusher

CollisionHandlerPusher(void)
static TypeHandle get_class_type(void)
bool get_horizontal(void) const
void read_datagram(DatagramIterator &source)

Restores the object state from the given datagram, previously obtained using __getstate__.

void set_horizontal(bool flag)
void write_datagram(Datagram &destination) const

Serializes this object, to implement pickle support.