Need help with homing projectlies

Started by Freon on

Topic category: General discussion

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with homing projectlies

Guys, i need little help with mcreator, i want make projectiles that homing target and come to it, if there no target, bullet just travel forward, like shulker bullet or like stinger from NTM.. I dont know codding and i need help with update tick procedure, I don't know how to make the bullet fly straight until it finds a target, and if the bullet finds a target, it would immediately aim at it. I have already made the beginning of the procedure so that the bullet would look for a target in a small radius, (Does entity exist in square cube with size 40 of type: monster entity) But I don’t know how to make it move straight to the target (I already tried to do something with the AI ​​of the entity but it just flew in place, and it shouldn’t be like that, it should fly straight anyway, even when there is no target) And please attach a photo with the procedure to the answer, I will be very glad if you help: 3 (Mcreator version is the latest)


 
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It will looks like this
Sun, 07/24/2022 - 11:38

It will looks like this