September 26, 20186 yr 23 minutes ago, TheRPGAdventurer said: EntityLook helper or Entity#getLookHelper() That gets the helper, not the direction which the OP was asking for. @Niinnnnnn use Entity#getLookVec
September 26, 20186 yr Author Entity Player does not have getLookHelper() or at least I could not find
September 26, 20186 yr Author 25 minutes ago, V0idWa1k3r said: That gets the helper, not the direction which the OP was asking for. @Niinnnnnn use Entity#getLookVec how do I do now that I've used getLookVec ()? I do not know how I get the direction he's looking with getLookVec (). I need this to send a boost to where he's looking for this I'm going to use setVelocity
September 26, 20186 yr 5 minutes ago, Niinnnnnn said: I do not know how I get the direction he's looking with getLookVec (). getLookVec is the direction he is looking at. It's the direction vector.
September 26, 20186 yr Author ohh ok, but how do I do it now to boost the player, would it be with setVelocity? oho
September 26, 20186 yr You can try it out. However if you are changing the player's motion parameters then you need to do so on the client - player movement is controlled by the client.
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.