dynamic access of avatar location
I've been trying to calculate the distance between two avatars by getting their centres and using pythagoras to get the distance. However, I've ran into a walk concerning how to get the positions of the avatars. How would I get the x coordinate, y coordinate, z coordinate of an avatar or all three in an array?
|
An avatar is a subclass of a node3d object. If you look under the help "command reference" for node3d objects, you'll see a method called "get". It can get the position along with many other states of any valid node3d object. Refer to the docs for syntax.
|
All times are GMT -7. The time now is 07:03 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC