View Single Post
  #2  
Old 10-04-2011, 02:50 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
It sounds like you also have collision shapes applied to the walls. In that case you can check to see which objects are involved in the collision. These are passed with the event object to the callback function as the attributes obj1 (node that generated the event) and obj2 (node it collided with). If obj2 is the door then you can animate it opening, otherwise you can ignore the collision.
Reply With Quote