I have an Object with a CompositeCollider2d that merges the colliders of several child objects (the limbs of my player). However, I need all of them to be disabled in the beginning of the game. There is no Checkbox on the CompositeCollider2d in the inspector and neither does
GetComponent<CompositeCollider2d>().enabled = false;
do anything.
The documentation claims that “enabled” is an available property on CompositeCollider2d.
The object has a Rigidbody2D on the same element as the CompositeCollider2d and behaves as expected everywhere else.
What is the problem?