Battle Ship 3D game – Inputs

I want to know how can i move models randomly ?
My game is battle ship game and i want to move models of enemy ships randomly and if they come near to my ship or to any terrain, they move far away from it.
Thanks in advance. :slight_smile:

@wezrule Thank you :slight_smile:

post your code please