WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-06-2009, 12:45 AM
Penguin Penguin is offline
Member
 
Join Date: Mar 2009
Posts: 14
This is not exactly what I meant.

For illustrating I attached some screen shots:

Left picture:
Start position. object1 = blue torus, object2 = white torus)

Middle picture:
Your end position. Your code seems to copy the complete orientation of object2 to object1

Right picture:
Desired end position. I want to rotate object1 according to the orientation of object2. Kinda object1.setEuler([0,0,45],viz.REL_LOCAL_of_object2)
Attached Thumbnails
Click image for larger version

Name:	Start.png
Views:	4593
Size:	17.2 KB
ID:	316   Click image for larger version

Name:	YourEnd.png
Views:	4557
Size:	18.3 KB
ID:	317   Click image for larger version

Name:	MyEnd.png
Views:	4531
Size:	18.8 KB
ID:	318  
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieve Object names Geoffrey Vizard 11 12-11-2009 05:26 AM
how to pick up the object, move and rotate using mouse nasr Vizard 5 05-05-2009 04:11 AM
reseting an object durf Vizard 3 03-18-2009 12:48 AM
Child Object Rotation paulgoldberg Vizard 5 09-05-2006 12:33 PM
rotate to object jargon Vizard 1 08-08-2005 01:20 PM


All times are GMT -7. The time now is 05:01 AM.


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