WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-16-2018, 02:29 PM
jwhopkin jwhopkin is offline
Member
 
Join Date: Jul 2018
Posts: 5
Colliding with sub nodes

Hi, I am trying to get the hand model of my avatar to collide with subnodes of my main model and have them be identified. I can get the collision to work when I use model.collideMesh(node = 'obj'), but when I print out the intersected object in a collide event function it only states I collided with the original model node.

Furthermore, I tried to fix this by declaring the node as a separate object (obj = model.getChild('obj') and working on collision with that, and I cant seem to get any collision with the hand model from that.

My overall goal would be programming different things to happen with each node of the larger model upon collision without having to import them as separate objects.

Thanks for the help!
Reply With Quote
  #2  
Old 07-25-2018, 01:47 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The avatar collisions article shows a method of identifying collisions with an avatar part by linking another object to it.
Reply With Quote
Reply

Tags
avatar, collision, hand, physics, sub-nodes


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
Highlighter tool on nodes in model Seadna Vizard 5 02-11-2016 05:17 AM
Resetting the Color and Alpha of Nodes The SundanceKid Vizard 1 07-17-2014 04:40 PM
Internal nodes of loaded model files? dtidrow Vizard 2 05-12-2009 08:55 AM
Creating occluder nodes in .ive file dtidrow Vizard 1 12-09-2008 10:40 AM
Collision with child nodes rubberpimple Vizard 4 09-17-2008 04:27 PM


All times are GMT -7. The time now is 01:14 PM.


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