WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-08-2010, 11:15 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
Linking Box to Screen

Hi,

I am looking into a way to link a box to the bottom right of a screen so that it seems like it is a 2-D part of the screen and wherever the user turns or goes to, the box will always remain there. Can someone help me out with the coding which needs to be done to link the box to the bottom right?

Thank you,
Jassel41
Reply With Quote
  #2  
Old 04-08-2010, 05:38 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can link a box to the viewpoint and then apply an offset.
Code:
box = viz.add('box.wrl')
viewLink = viz.link(viz.MainView,box)
viewLink.preTrans([1,-0.5,4])
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
Title Screen c4am95 Vizard 4 04-08-2010 01:24 PM
split screen honey006 Vizard 3 05-21-2009 09:57 AM
screen image erchrastil Vizard 8 06-27-2008 11:45 AM
Linking problems with Live Character Frank Verberne Vizard 5 06-04-2008 11:42 AM
position of html-file on screen active_world Vizard 1 05-16-2008 07:24 PM


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


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