"first round of bug fixes for world-split change"

This commit is contained in:
Josh Wilson 2007-07-18 01:03:27 +00:00
parent 20d03e0992
commit cbaa8832d3
1 changed files with 2 additions and 1 deletions

View File

@ -110,11 +110,12 @@ class ShipPilot(PhysicsWalker):
self.pusher.setInPattern("enter%in")
self.pusher.setOutPattern("exit%in")
sRadius = abs((self.portPos - self.starboardPos)[0] / 2.0)
cNode = CollisionNode('SP.cNode')
"""
# Front sphere:
sRadius = abs((self.portPos - self.starboardPos)[0] / 2.0)
cBowSphere = CollisionSphere(
0.0, self.bowPos[1]+sRadius, 0.0, sRadius)