Posted January 3, 201411 yr I am trying to spawn a multitude of particles and then shoot a fireball, with all particles and entities spawning directly above the player's hand. The player isn't holding an item at the time in which this needs to be occurring, so I can't use the item being held as a reference. I already found a way to spawn particles and shoot entities when the player isn't holding any items or anything, however I can't think of a way of positioning where it all spawns correctly. Setting the Y coordinate where it should spawn is easy, but I can't think of a way to use the X and Z coordinate to always position the particle/entity where it needs to be. Any ideas?
January 3, 201411 yr player.getLookVec() and some trig. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 3, 201411 yr Author I suspected as much, however I was hoping there was another way. Trig it is I suppose.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.