WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-14-2010, 04:30 PM
vJimZ vJimZ is offline
Member
 
Join Date: Sep 2010
Location: Stanford University
Posts: 2
Hi Jeff,

Thanks for the reply.

To make the code detect a collision:
male.enable(viz.COLLIDE_NOTIFY)
def onCollide(e):
print "collided"

viz.callback( viz.COLLIDE_BEGIN_EVENT, onCollide)

The console prints "collided" when the character first lands, and plenty of "collided" are printed as the character is running around, but not when buildings are hit. The world is around 30km x 30km x 10km, but I scaled it by a factor of 0.01.

Is there some way to increase the "thickness" of the model to the point that it can detect collisions?
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
Interactive Window ChrisB Vizard 1 01-19-2005 10:36 AM


All times are GMT -7. The time now is 12:09 AM.


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