From fcc048ac127877c7973246ff86d1dbe5dc57181d Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 24 May 2015 23:33:52 -0500 Subject: [PATCH] removed teleport anim --- toontown/toon/Toon.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/toontown/toon/Toon.py b/toontown/toon/Toon.py index 247f3364..ea6cb43f 100755 --- a/toontown/toon/Toon.py +++ b/toontown/toon/Toon.py @@ -1790,21 +1790,6 @@ class Toon(Avatar.Avatar, ToonHead): self.getGeomNode().setClipPlane(self.holeClipPath) self.nametag3d.setClipPlane(self.holeClipPath) avHeight = max(self.getHeight(), 3) - - if self == base.localAvatar: - def lerpCam(task): - degrees = task.time * 52.941 - radians = degrees * (math.pi / 180.0) - x = -12 * math.sin(radians) - y = -12 * math.cos(radians) - z = base.localAvatar.getHeight() - camera.setPos(x, y, z) - camera.setH(-degrees) - if task.time > 3.4: - return Task.done - return Task.cont - taskMgr.add(lerpCam, 'lerpCam') - self.track.start(ts) self.setActiveShadow(0)