Shooting projectiles from hand

Started by Piggychanum on

Topic category: Help with modding (Java Edition)

Last seen on 23:29, 19. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shooting projectiles from hand
Tue, 05/28/2024 - 03:54 (edited)
I have a question. I want to shoot projectiles from my hand, not from the middle of my body. Can you help me?
 

Edited by Piggychanum on Tue, 05/28/2024 - 03:54
Last seen on 03:17, 23. Jul 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that should be based on the…
Thu, 07/04/2024 - 17:32

that should be based on the rotation of the player. when your projectile is thrown, add a procedure that checks the rotation angle of the player, then change the x and z position of the projectile based on that. this requires math