ShadowPlacer

Inheritance:

Methods of ShadowPlacer:

__init__
def __init__(self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask)

Undocumented function.

delete
def delete(self)

Undocumented function.

off
def off(self)

Turn off the shadow placement. The shadow will still be there, but the z position will not be updated until a call to on() is made.

on
def on(self)

Turn on the shadow placement. The shadow z position will start being updated until a call to off() is made.

oneTimeCollide
def oneTimeCollide(self)

Makes one quick collision pass for the avatar, for instance as a one-time straighten-things-up operation after collisions have been disabled.

resetToOrigin
def resetToOrigin(self)

Undocumented function.

setup
def setup(self, cTrav, shadowNodePath, wallCollideMask, floorCollideMask)

Set up the collisions