Collision Response Animator...

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Collision Response Animator...

Post by christianclavet »

I was wondering about this:

Sometimes the collision sphere get stuck between a polygon. So the object will no longer move.

There is a flag isFalling() there for determining if the camera is not touching anything (So in theory, it's falling). Could there be a flag in the same way? like isStuck()

This would be really useful. There would be a kind of mecanism that would look is a vertice or face is INSIDE the collision sphere (That what I'm assuming of the current problem)
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

I suppose you could probably have a go at writing the function yourself maybe... First just write a function to count if any vertices are inside the colllision ellipse, as you suggested, to see if that counts any when you get stuck...
Image Image Image
Post Reply