i want to make an avatar look at an absolut point in space (e.g. have all the students in a class look at the teacher). avatar.lookat() makes the entire body point, while avatar.heatto() creates an animation using yaw/pitch/roll. i want this:
Code:
teacher = [2, 3, 4]
avatar.lookatpoint(teacher)
def lookatpoint(self, point):
self._headbone = self.getbone('skel_Head')
self._headbone.lock()
self._headbone.lookat(point, viz.ABSOLUTE_WORLD)
this doesnt' seem to work, but i think you get the point. so how do i do this?