📜  unity collision.impulse - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:50.088000             🧑  作者: Mango

代码示例1
void OnCollisionEnter(Collision col) {
    Vector3 collisionForce = col.impulse / Time.fixedDeltaTime;
    // And now you can use it for your calculations!
}