mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Add back posCamera fix
This commit is contained in:
parent
40a74a02eb
commit
aa8e8b6d09
1 changed files with 2 additions and 1 deletions
|
@ -612,7 +612,8 @@ class LocalAvatar(DistributedAvatar.DistributedAvatar, DistributedSmoothNode.Dis
|
|||
camera.setPos(savePos)
|
||||
camera.setHpr(saveHpr)
|
||||
taskMgr.remove('posCamera')
|
||||
camera.lerpPosHpr(x, y, z, h, p, r, time, task='posCamera')
|
||||
self.cameraLerp = LerpPosHprInterval(camera, time, Point3(x, y, z), Point3(h, p, r), other=self, name='posCamera')
|
||||
self.cameraLerp.start()
|
||||
|
||||
def getClampedAvatarHeight(self):
|
||||
return max(self.getHeight(), 3.0)
|
||||
|
|
Loading…
Reference in a new issue