Why is the FPSController's Character Controller not working as a Collider?

Hello, I was having issues with some scripts I have for “Moving Platforms/ Elevators”

I tried some different things to get this script working.
One of them was, I added an additional “Capsule Collider” to the FPSController “on top of” the Character Controller, and this script now works.

public class HoldObjects : MonoBehaviour {

public GameObject thePlayer;

void OnTriggerEnter (Collider col)

	col.transform.parent = gameObject.transform;

void OnTriggerExit (Collider col)

	col.transform.parent = null;


But I know, I shouldn’t have to add this “additional Capsule Collider”, Right?
I tried changing (Collider col) to (CharacterController cc) etc. etc.
I know this is simple, but i can’t get this script to work without the Capsule Collider attached to the FPSController.

Any help would be greatly appreciated! Thanks.

The “capsule” in the character controller is for visualization only. It is not an actual collider, as a character does not behave like a normal physics object. If you want those collision functions, you do need an actual collider attached to your object, as far as I know.