manually moving Kinematic Entity collision detection
Posted: Sun Dec 18, 2011 4:16 pm
We are currently trying to add a feature in our Editor.
we want to add physical entities to the scene but the problem is that when we move the Dynamic entities manually it craps out as soon as it
intersects any bounding volume. (as it should be, our physic time goes from 0.3ms to about 50ms when that happens)
So i tried converting the entity to Kinematic, and it works fine, but there are no events generated if the kinematic entity intersects another bounding volume.
The difficult way for me now would be to implement a quick intersect test that checks out all possible collisions.
before i do anything like that (which would inevitably lead to my brain dying) i would like to know if there is an easier way around this problem.
it would be nice if when collision is detected the Entity just stops moving.
Is there any way i can manually move a Dynamic Entity without it to compenetrate?
we want to add physical entities to the scene but the problem is that when we move the Dynamic entities manually it craps out as soon as it
intersects any bounding volume. (as it should be, our physic time goes from 0.3ms to about 50ms when that happens)
So i tried converting the entity to Kinematic, and it works fine, but there are no events generated if the kinematic entity intersects another bounding volume.
The difficult way for me now would be to implement a quick intersect test that checks out all possible collisions.
before i do anything like that (which would inevitably lead to my brain dying) i would like to know if there is an easier way around this problem.
it would be nice if when collision is detected the Entity just stops moving.
Is there any way i can manually move a Dynamic Entity without it to compenetrate?