hasCollision() always true?

Hey!



I am actually implementing collisions to my project…or I try to!



the problem is that hasCollision and calculateCollisions always return true or say that there is a collision, but BoundingCollisionResult target and source are null…



bounding boxes are set…and only bounding boxes, no other bounds…as i read that cross-bounds checking isn't implemented yet.



if I call node.hasCollision - it only checks whether the node collides with an other? not internal collisions in this node?



thanks in advance,

kain

basically node.hasCollision(node1, false) will check for collision between node and node1 on the bounding level - whether the two bounds of the nodes intersect. if you set node.hasCollision(node1, true) this check will be made at the triangular level.



Your details of the situation are very sketchy so cannot say what is the case there. If you could clarify things further and may be provide this code snippet then more could be said.

I'm sorry…after some debugging I found a stupid mistake in my code…was late in that night  :x



please delete this topic :frowning: