CollisionHandlerPusher

from panda3d.core import 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

__init__()
static getClassType()TypeHandle
getHorizontal()bool
property horizontalbool
readDatagram(source: DatagramIterator)

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

setHorizontal(flag: bool)
writeDatagram(destination: Datagram)

Serializes this object, to implement pickle support.