WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   rotate to object (https://forum.worldviz.com/showthread.php?t=388)

jargon 08-08-2005 12:14 PM

rotate to object
 
I vaguely remember there's a method to rotate one object to another object but I didn't want to look through all my old files trying to see how it's done (I know one can do it in Vizard though). Specifically I have a triangle object and I have another identical triangle object but rotated to some other. How does one rotate the one object to the other? Furthermore, Can you do it without converting it to quaternions (like is there a rotate object to object command?)
thanks,
jargon

farshizzo 08-08-2005 12:20 PM

Hi,

I think you are referring to the .lookat command. It will rotate an object so that it is pointing to the given 3d location. Let me know if this isn't what you were looking for.


All times are GMT -7. The time now is 08:43 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC