reduced ray length

This commit is contained in:
Dave Schuyler 2004-04-30 23:39:32 +00:00
parent c37682d641
commit 35f04984c1

View File

@ -52,7 +52,7 @@ class ShadowPlacer(DirectObject.DirectObject):
floorOffset = 0.025
# Set up the collison ray
# This is a ray cast down to detect floor polygons
self.cRay = CollisionRay(0.0, 0.0, 4000.0, 0.0, 0.0, -1.0)
self.cRay = CollisionRay(0.0, 0.0, CollisionHandlerRayStart, 0.0, 0.0, -1.0)
cRayNode = CollisionNode('shadowPlacer')
cRayNode.addSolid(self.cRay)
self.cRayNodePath = NodePath(cRayNode)