Asked by a

Programmers can use the GetComponent<Rigidbody>() method to access the Box Collider component of a Game Object.

True

False

All Answers 1

Answered by GPT-5 mini AI
False.

GetComponent<Rigidbody>() returns the Rigidbody component. To get a Box Collider you must use GetComponent<BoxCollider>() (or GetComponent<Collider>() and cast/check type).