c# - Bullet Physics - Step outside of body -


i have interesting little problem using bullet physics engine.

in course of physics occurring, it's natural within engine rigidbody as 0.01 units inside of body. fine within simulation, knows not fall through each other.

however, not moment call body.translate recorded position. while body entering body naturally physics engine fine, function call not. translating position entity in, body no longer remembers stay outside of body, , falls through.

how go of following:

  • stepping moved body outside any/all bodies it's touching.
  • preventing body entering another
  • anything else keep first body going through second

(note: actual use case bit more complex described, what's going on. can provide more details if necessary).


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -