WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-23-2008, 12:30 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You have to use the following code to retrieve the center of a node:
Code:
obj.getCenter()
Also, the center is only used to control the pivot point for rotations of a node.

If you want to translate a glider, then simply use the node.translate() command to position it. I'm not exactly clear on what the problem is. You might need to explain it more clearly or provide some sample code.
Reply With Quote
  #2  
Old 02-12-2008, 02:56 AM
johannes2 johannes2 is offline
Member
 
Join Date: Apr 2007
Posts: 7
Thank you, this prints me the center and shows that both objects have the same center. Although I did not find (my) mistake yet this allows me to get more info. Thank's.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
Video Texture Not Working on Some Objects paulgoldberg Vizard 1 04-17-2006 12:41 PM
putting objects on the screen jargon Vizard 7 05-24-2005 11:31 AM
limits on number of objects benelux Vizard 3 07-22-2004 01:26 PM
3D sound & child objects FlyingWren Vizard 1 09-19-2003 12:13 PM


All times are GMT -7. The time now is 07:42 AM.


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