mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
ship sphere init
This commit is contained in:
parent
325e42d530
commit
2fb89f87cd
@ -283,7 +283,7 @@ class ShipPilot2(PhysicsWalker):
|
||||
|
||||
def initializeCollisions(self, collisionTraverser,
|
||||
avatarRadius = 1.4, floorOffset = 1.0, reach = 1.0,
|
||||
width = 3.0, length = 5.0, height = 2.5):
|
||||
width = 30.0, length = 105.0, height = 45.0):
|
||||
"""
|
||||
width is feet from port to starboard.
|
||||
length is feet from aft to bow.
|
||||
@ -297,8 +297,8 @@ class ShipPilot2(PhysicsWalker):
|
||||
self.floorOffset = floorOffset
|
||||
self.reach = reach
|
||||
if self.useBowSternSpheres:
|
||||
self.frontSphereOffset = frontSphereOffset
|
||||
self.backSphereOffset = backSphereOffset
|
||||
self.frontSphereOffset = length * 0.3
|
||||
self.backSphereOffset = -length * 0.7
|
||||
self.width = width
|
||||
self.length = length
|
||||
self.height = height
|
||||
|
Loading…
x
Reference in New Issue
Block a user