Shooting projectiles from hand

Started by Piggychanum on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2024
Points:
92

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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
Active 3 days ago
Joined Jul 2017
Points:
1031

User statistics:

  • Modifications: 1
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 490
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