WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-15-2010, 11:23 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Because viz.COLLIDE_BEGIN_EVENT only calls onCollide once per collision, you get one notification of collision when the avatar hits the city model's ground, even though the avatar moves on to collide with the city model's buildings.

so events go like this: avatar drops into world -> collide begin event called -> avatar is still colliding with world but walking around -> avatar walks into building but never lost touch with city model so no new collide begin event.

I think the better way to move you avatar around in the world is with a velocity motor created with the male.addVelocity fuction. There are a few tricks on how to use a velocity motor, so check out the docs on "addVelocity" and the example script in this article:

http://vizworkshop.com/articles/walkthrough_app
__________________
Paul Elliott
WorldViz LLC
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
Interactive Window ChrisB Vizard 1 01-19-2005 10:36 AM


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


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