WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-28-2005, 11:02 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
Quote:
Originally posted by farshizzo
When using the collidebox function, if you don't pass any values Vizard will automatically calculate the bounding box of the object and use it for collisions. Try using this with your tables, however, if you scale the table in Vizard then it won't work.
No, this does not work right. I did not scale the table in vizard but the position the Ball hits the table.collidebox() a lot below the actual table-surface.

So I might have to use the invisible box.

Code:
info == room.intersect(prevPos,curPos)
if info.intersected:
	print 'ball has gone through a wall'
Thank you, very nice idea!!
Johannes
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


All times are GMT -7. The time now is 11:08 PM.


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