from direct.actor.Actor import Actor from pandac.PandaModules import * from direct.task import Task import math from math import pi, sin, cos from direct.showbase.ShowBase import ShowBase from direct.task import Task from direct.interval.IntervalGlobal import Sequence from pandac.PandaModules import Point3 from pandac.PandaModules import * ttHat.reparentTo(avHead) ttHat.setZ(3.2) ttHat.setColorScale(25) ttHat.setHpr(0,0,290)