how do i add velocity to an entity, towards their eye position?

Started by doggydoply45 on

Topic category: Help with modding (Java Edition)

Last seen on 05:45, 20. Apr 2024
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i add velocity to an entity, towards their eye position?

i'm currently working on a few mods and some of them would benefit from a sort of "launch" feature, either pushing the character up and back, based on their look position. or launching them towards where they're looking, is there a way i can do this with procedures? i'm getting better at them but i can't seem to figure this one out

Last seen on 17:18, 19. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's an MCreator plugin…
Tue, 03/16/2021 - 07:20

There's an MCreator plugin which adds "set walk speed of entity" procedure block, if it helps you.