mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
adding resetToOrigin
This commit is contained in:
parent
01057741dc
commit
b35568a0b5
@ -142,6 +142,10 @@ class ShadowPlacer(DirectObject.DirectObject):
|
||||
tempCTrav.addCollider(self.cRayNodePath, self.lifter)
|
||||
tempCTrav.traverse(render)
|
||||
|
||||
def resetToOrigin(self):
|
||||
if self.shadowNodePath:
|
||||
self.shadowNodePath.setPos(0,0,0)
|
||||
|
||||
if __debug__:
|
||||
def debugDisplay(self):
|
||||
"""for debugging"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user