diff --git a/direct/src/controls/PhysicsWalker.py b/direct/src/controls/PhysicsWalker.py index 416ef2752c..bd598a9c01 100755 --- a/direct/src/controls/PhysicsWalker.py +++ b/direct/src/controls/PhysicsWalker.py @@ -251,7 +251,7 @@ class PhysicsWalker(DirectObject.DirectObject): self.phys.addLinearForce(self.avatarViscosity) self.phys.attachLinearIntegrator(LinearEulerIntegrator()) - self.phys.attachPhysicalnode(physicsActor.node()) + self.phys.attachPhysicalNode(physicsActor.node()) self.acForce=LinearVectorForce(0.0, 0.0, 0.0) fn=ForceNode("avatarControls") diff --git a/direct/src/controls/ShipPilot.py b/direct/src/controls/ShipPilot.py index b0e6e9d2c7..7df27acab1 100755 --- a/direct/src/controls/ShipPilot.py +++ b/direct/src/controls/ShipPilot.py @@ -324,7 +324,7 @@ class ShipPilot(PhysicsWalker): self.phys.attachLinearIntegrator(LinearEulerIntegrator()) self.phys.attachAngularIntegrator(AngularEulerIntegrator()) - self.phys.attachPhysicalnode(physicsActor.node()) + self.phys.attachPhysicalNode(physicsActor.node()) if 0: self.momentumForce=LinearVectorForce(0.0, 0.0, 0.0) diff --git a/direct/src/physics/FallTest.py b/direct/src/physics/FallTest.py index dfc547a20d..02e3632b3c 100644 --- a/direct/src/physics/FallTest.py +++ b/direct/src/physics/FallTest.py @@ -50,8 +50,8 @@ class FallTest(NodePath): self.phys.attachLinearIntegrator(LinearEulerIntegrator()) if 0: self.phys.attachAngularIntegrator(AngularEulerIntegrator()) - #self.phys.attachPhysicalnode(self.node()) - self.phys.attachPhysicalnode(self.actorNode) + #self.phys.attachPhysicalNode(self.node()) + self.phys.attachPhysicalNode(self.actorNode) if 0: self.momentumForce=LinearVectorForce(0.0, 0.0, 0.0) diff --git a/direct/src/physics/RotationTest.py b/direct/src/physics/RotationTest.py index d5610d2498..b3f7360a76 100644 --- a/direct/src/physics/RotationTest.py +++ b/direct/src/physics/RotationTest.py @@ -60,8 +60,8 @@ class RotationTest(NodePath): self.phys.attachLinearIntegrator(LinearEulerIntegrator()) if 0: self.phys.attachAngularIntegrator(AngularEulerIntegrator()) - #self.phys.attachPhysicalnode(self.node()) - self.phys.attachPhysicalnode(self.actorNode) + #self.phys.attachPhysicalNode(self.node()) + self.phys.attachPhysicalNode(self.actorNode) if 0: self.momentumForce=LinearVectorForce(0.0, 0.0, 0.0)