Need help with physics base enemy AI movement

I’m learning Unity, and i’m making a game with just simple cubes as the player and the enemies. And since it is a physics based game it uses force to move the player around in only two axis(x and y). this part of the game has been completed. And now i need to create an enemy AI script which will enable the enemy cube to chase the player using force rather than changing the position and is able to jump to floating floors.
I already have script for the enemy AI but the problem is that it uses the position to chase the player rather than using the force (physics) and the enemy cube is not able to climb over obstacle nor jump to floating floors. I want to do it but i dunno how.
Thank you

Here’s the code i’m using now:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Chase : MonoBehaviour

    public Transform Player;
    int MoveSpeed = 1;
    int MaxDist = 10;
    int MinDist = 1;

    void Start()


    void Update()

        if (Vector3.Distance(transform.position, Player.position) >= MinDist)

            transform.position += transform.forward * MoveSpeed * Time.deltaTime;

            if (Vector3.Distance(transform.position, Player.position) <= MaxDist)
                //Here Call any function U want Like Shoot at here or something


don’t change the position directly since you don’t have plane surface.
try to move your enemy with velocity.


body.velocity = transform.forward*someSpeed