WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 11-26-2013, 07:01 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Hi Maya,

You forgot to make text_2D invisible in the beginning.
Code:
text_2D = viz.addText('radiation source area', viz.SCREEN )
text_2D.setPosition(0,0,20)
text_2D.color(viz.RED)
text_2D.visible(viz.OFF)
Furthermore: note that your indentation of your EnterProximity and ExitProximity functions is not a tab, but two spaces. Python does not mind it that much, but it would be more consistent to use one tab as indentation level throughout your code.
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
input from a text file dig Vizard 5 10-20-2013 02:20 AM
Lighting relevant text? knightgba Vizard 1 01-26-2011 06:33 PM
Informationboxes with text snoopy78 Vizard 3 07-16-2009 11:23 AM
Vizard tech tip: Text to Speech Jeff Vizard 1 01-15-2009 10:39 PM
3d Text with Transparent Borders vjosh Vizard 3 12-01-2004 11:50 AM


All times are GMT -7. The time now is 02:14 AM.


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