WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-29-2009, 05:40 AM
Joran Joran is offline
Member
 
Join Date: Jun 2006
Posts: 38
Send a message via Yahoo to Joran
Hello,

Quote:
Originally Posted by farshizzo View Post
If you detach one of the children from the parent, then the transformation won't be applied to the node, and it will go back to using a Z-up convention.
I understand that when I detach a child that it will go back to a Z-up convention. But when I reattach the child to the same parent, shouldn't it be in a Y-up position again?

Greetings, Joran.
Reply With Quote
  #2  
Old 05-29-2009, 04:58 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
When you reattach the child to the parent, you need to attach it underneath it's original parent node, or the __VIZARD_NODE__:
Code:
child.parent(model,node='__VIZARD_NODE__')
This should preserve the Y-up convention.
Reply With Quote
  #3  
Old 06-18-2009, 06:43 AM
Joran Joran is offline
Member
 
Join Date: Jun 2006
Posts: 38
Send a message via Yahoo to Joran
But doesn't the sample in the first post attach it to the original parent?
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
Collision detection with specific models just alex Vizard 1 02-06-2009 12:02 PM


All times are GMT -7. The time now is 12:33 PM.


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