I need help for make a entity move in the direction the player looking

Started by omar ben zlabia on Sat, 08/06/2022 - 04:45

Topic category: Help with modding (Java Edition)

Last seen on 02:51, 8. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need help for make a entity move in the direction the player looking
Sat, 08/06/2022 - 04:45

Hi, i want to make a entity that move only on the direction that the player looking when it spawn but my procedure don't work because the entity move alway in the same direction no matter where i look.

There is a screenshot of my procedure:

 

 

 

I try to change the event target entity by source entity but that make a compilation error

.

It will be fine if someone can help me thank you (sorry for my bad english i am french).