WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-24-2014, 09:58 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I think you need to apply the offset after the scale. Try the following:
Code:
pigeonlink = viz.link(viz.MainView, pigeon, mask = viz.LINK_POS)
pigeonlink.postScale([0.8,0,0.8], target = viz.LINK_POS_OP)
pigeonlink.postTrans([3,0,3], target = viz.LINK_POS_OP)
Reply With Quote
  #2  
Old 10-24-2014, 10:20 AM
mape2k mape2k is offline
Member
 
Join Date: Mar 2013
Posts: 60
That worked wonderfully, thanks!

I the meantime, I also managed to fix it by manually correcting the offset by the scaling factor * initial offset.

Your solution is much more elegant, thanks again!
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
Linking Objects new_horizon Vizard 1 04-20-2012 07:07 AM
"reverting" between animations & linking objects to bones Lithium Vizard 3 08-08-2011 12:01 PM
sensor linking question smith11235 Vizard 6 05-31-2011 05:58 PM
Linking and Intersense Question durf Vizard 1 07-23-2009 11:09 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 12:01 PM


All times are GMT -7. The time now is 02:10 PM.


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