メモ。
targetGameObjectの動きを止める場合。
targetGameObject.rigidbody.velocity = Vector3.zero; targetGameObject.rigidbody.angularVelocity = Vector3.zero;
メモ。
targetGameObjectの動きを止める場合。
targetGameObject.rigidbody.velocity = Vector3.zero; targetGameObject.rigidbody.angularVelocity = Vector3.zero;