mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
addBlastForce
This commit is contained in:
parent
5ee35791e2
commit
b49c72cc5d
@ -86,6 +86,9 @@ class DevWalker(DirectObject.DirectObject):
|
||||
def oneTimeCollide(self):
|
||||
pass
|
||||
|
||||
def addBlastForce(self, vector):
|
||||
pass
|
||||
|
||||
def displayDebugInfo(self):
|
||||
"""
|
||||
For debug use.
|
||||
|
@ -419,6 +419,9 @@ class GravityWalker(DirectObject.DirectObject):
|
||||
self.setMayJump,
|
||||
"jumpDelay-%s"%id(self))
|
||||
|
||||
def addBlastForce(self, vector):
|
||||
self.lifter.addVelocity(vector.length())
|
||||
|
||||
def displayDebugInfo(self):
|
||||
"""
|
||||
For debug use.
|
||||
|
@ -175,6 +175,9 @@ class NonPhysicsWalker(DirectObject.DirectObject):
|
||||
tempCTrav.addCollider(self.cRayNodePath, self.lifter)
|
||||
tempCTrav.traverse(render)
|
||||
|
||||
def addBlastForce(self, vector):
|
||||
pass
|
||||
|
||||
def displayDebugInfo(self):
|
||||
"""
|
||||
For debug use.
|
||||
|
@ -407,6 +407,9 @@ class PhysicsWalker(DirectObject.DirectObject):
|
||||
tempCTrav.addCollider(self.cRayNodePath, self.cRayQueue)
|
||||
tempCTrav.traverse(render)
|
||||
|
||||
def addBlastForce(self, vector):
|
||||
pass
|
||||
|
||||
def displayDebugInfo(self):
|
||||
"""
|
||||
For debug use.
|
||||
|
@ -497,6 +497,9 @@ class ShipPilot(PhysicsWalker.PhysicsWalker):
|
||||
tempCTrav.addCollider(self.cRayNodePath, self.cRayQueue)
|
||||
tempCTrav.traverse(render)
|
||||
|
||||
def addBlastForce(self, vector):
|
||||
pass
|
||||
|
||||
def displayDebugInfo(self):
|
||||
"""
|
||||
For debug use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user