WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-15-2010, 08:00 AM
bloswald bloswald is offline
Member
 
Join Date: Jan 2010
Posts: 7
Quote:
Originally Posted by Jeff View Post
Another way of doing this would be to use the physics engine and add a hinge joint to the door. When you click on the door a force is applied making it swing open
Can you please post some sample code of the physics way of doing this?

-
bloswald
Reply With Quote
  #2  
Old 03-29-2010, 06:30 AM
VelvetElvis VelvetElvis is offline
Member
 
Join Date: Nov 2009
Posts: 5
You need to rotate the door based on the GEODE of the door. I used the example of the hierarchical animation, the one with the rotating teapots on the main page.

http://kb.worldviz.com/articles/1157

You also need to make sure that your pivot point is where you want it on the door, as well as your objects xForm is reset (if you use Max.)
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


All times are GMT -7. The time now is 05:46 PM.


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