#1
|
|||
|
|||
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! |
#2
|
|||
|
|||
The avatar collisions article shows a method of identifying collisions with an avatar part by linking another object to it.
|
Tags |
avatar, collision, hand, physics, sub-nodes |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
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 |