Irrlicht collision not work with Child Nodes

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Irrlicht collision not work with Child Nodes

Post by etcaptor »

Irrlicht collision won't works with Child Nodes. Therefore weapons will always pass through the walls.

The reason:
In CSceneNodeAnimatorCollisionResponse are used relative position for calculation like getPosition. Therefore collision will not affect for any node, when this node has another node for parent.

But change to getAbsolutePosition will not resolve the problem.
There must be link between collision of parent and child node
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Post Reply