Problem with trigger collider thingy

Hi - I was trying to get a boat to start moving in my game when the player steps on it, by using the constant force component. I’m not quite sure whats going wrong here, but it doesn’t work. I have attached the constant force component, and I can’t see whats going wrong here. This is the code that I’m using:

function OnCollisionEnter(collision : Collision) {
	
	GetComponent(ConstantForce).enabled = true;
}

From the Unity Docs…

Ensure that you have a rigidbody attached to either your boat, or player.

Or you can try and user triggers. I have been having small issues using collision, but can use triggers fairly consistently.