canceling constantforce

hi there!

i have a constantforce component on my gameobject and I want to stop it by script. unfort. the gameobject keeps on moving allthough there is no more force active on it.

is there a way to stop it on click?

thx!

oh, I see:

rigidbody.velocity = Vector3.zero;

thx! :-)

No, you don't want to do that. Use `constantforce.force = 0.0;` where constantForce is the name of your ConstantForce component.