|  | 
| 
 looking at a point 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] | 
| 
 Hi, Here is a sample script that should help you out: Code: import vizYou're two for two today. Are there any other features you want me to add to the next release? :) | 
| 
 do i have to make the dummy node, move it, and adjust the head using timers and quats? or is there a simpler way considering that i will have 20 people in the simulation that either need to be looking at the teacher, at someone/thing else, or straight ahead (which would be too  many hard-coded functions for my taste). | 
| 
 Just create a global dummy node and then have a function that pretty much contains the code in the timer. Here's a cleaned up version of the sample code: Code: #You only need a single global dummy node | 
| 
 i even made your code a bit more specific to absolute-world location, but it still doesnt work.  all the heads look to the same absolute-local point. Code: self._headbone.lock() | 
| 
 Let me know if this example script works. There should be two avatars in front of you who will be tracking a ball that is moving back and forth across the screen. Code: import viz | 
| All times are GMT -7. The time now is 04:04 AM. | 
	Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
	
	Copyright 2002-2023 WorldViz LLC