Home > other > For a rigid body collision body problem, consult the bosses
For a rigid body collision body problem, consult the bosses
Time:09-28
I have two models Model a: a Cube, added the rigid body, the collision body, using rigid body moving Model b: a chair, only add the rigid body, there is no script control
Then I control model to bump model b when the two cases The first is that I go to hit at a slower speed model b, model no penetration model b chair leg in the middle of the gapThe second is I to a speed bump model b, model through the model b chair leg in the middle of the gap I don't know why I will appear in both cases, because in theory model should not penetrate model b ah, all have no result I checked the along while, see what a crossing tachycardia, also don't know if I the answer to this question, so please teach bosses bai
In addition: model b is my spell with the Cube so his body is not a big collision of the Cube
CodePudding user response:
Rigidbody has an attribute "Collision Detection" (Collision Detection),
Discrete '(Discrete) : when the objects that a frame is in the front, the next frame went to the back, we won't be able to detect, not suitable for high speed moving object Continuous (Continuous) : prevent objects through all static collision body Continuous Dynamic Continuous detection (Dynamic) : prevent colliding objects through all static body and set to Continuous or Continuous Dynamic rigid body,
Moving too fast, easy to appear on a frame in front of the object B, the next frame behind the object B, object collision is not effective,