[V1] Empty Entity.CollisionInformation.Pairs when waking up Entity
Posted: Mon Jan 21, 2019 5:22 pm
Hey!
I'm trying to use BEPU for a little sideprojct I'm currently working on.
So far I've created different elements that can be dynamic and kinematic objects which interact fine.
Now I'm trying to create an element that detects intersection with dynamic elements (let's call it a sensor).
This works good most of the time, but when a dynamic element is sleeping while intersecting a sensor and is woken up, the sensors CollisionInformation contain no Pairs for the next physic update. The update after that everything is fine and the Pairs will contain the correct data.
Also if a kinematic entity pushes a dynamic entity into a sensor, sometimes there will be no pairs at all, regardless of how many physic steps I run.
Any guesses why?
Thanks!
EDIT: short video to illustrate the issue: https://youtu.be/ik7m3Qg2G9M
I'm trying to use BEPU for a little sideprojct I'm currently working on.
So far I've created different elements that can be dynamic and kinematic objects which interact fine.
Now I'm trying to create an element that detects intersection with dynamic elements (let's call it a sensor).
This works good most of the time, but when a dynamic element is sleeping while intersecting a sensor and is woken up, the sensors CollisionInformation contain no Pairs for the next physic update. The update after that everything is fine and the Pairs will contain the correct data.
Also if a kinematic entity pushes a dynamic entity into a sensor, sometimes there will be no pairs at all, regardless of how many physic steps I run.
Any guesses why?
Thanks!
EDIT: short video to illustrate the issue: https://youtu.be/ik7m3Qg2G9M