Remember me
You are here: HomeForumCyberix3D ForumGeneral Discussion
Welcome, Guest
Username: Password: Remember me

TOPIC: Movement of the cube towards the player

Movement of the cube towards the player 8 months 2 weeks ago #3563

  • whinter
  • whinter's Avatar
  • OFFLINE
  • Senior Boarder
  • Hi, I try to make cool games for the community
  • Posts: 71
  • Thank you received: 16
I want the cube to move towards the player along the x, y, and z, and the player can run away from it.
The administrator has disabled public write access.

Movement of the cube towards the player 8 months 2 weeks ago #3564

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 792
  • Thank you received: 797
Hello whinter,

You can take a look at this forum thread:
www.gamemaker3d.com/forum/general-discus...-make-a-nextbot#3373

There’s an example over there for a zombie that chases you if you get close enough.

You can replace the zombie with a cube, for example.

You can view the source code and see how it was done.

Feel free to ask us about the example.

Cyberix3D team
Last Edit: 8 months 2 weeks ago by cyberix3d.
The administrator has disabled public write access.

Movement of the cube towards the player 8 months 2 weeks ago #3565

  • whinter
  • whinter's Avatar
  • OFFLINE
  • Senior Boarder
  • Hi, I try to make cool games for the community
  • Posts: 71
  • Thank you received: 16
I tried to do it, but I couldn't.
Last Edit: 8 months 2 weeks ago by whinter.
The administrator has disabled public write access.

Movement of the cube towards the player 8 months 2 weeks ago #3566

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 792
  • Thank you received: 797
Here’s an example using a cube:
www.gamemaker3d.com/player?pid=01666448
Have fun! :)
The administrator has disabled public write access.
The following user(s) said Thank You: whinter

Movement of the cube towards the player 8 months 2 weeks ago #3567

  • whinter
  • whinter's Avatar
  • OFFLINE
  • Senior Boarder
  • Hi, I try to make cool games for the community
  • Posts: 71
  • Thank you received: 16
Thanks :)
The administrator has disabled public write access.
Time to create page: 0.095 seconds