Need help trying to make my enemy keep constant movement

I wrote a code to were my script makes the enemy move but when the enemy move down at the player he just stop I want the enemy to push the enemy the the other way around here Is my enemy script and the player is using a charactercontroller

public class enemy : MonoBehaviour {

  public float speed;

  void Start ()
      rigidbody.velocity = transform.forward * speed;


Place it in the FixedUpdate() or Update() function! :slight_smile:

Pushing a character controller is not possible by means of physically pushing like rigidbodies. You’ll need to move it on collision or something like that.

Gameplay4all is right. Read about Start, Update and FixedUpdate, where Start is only executed once and for setup stuff