Posted February 9, 20205 yr i tried : player.setPositionAndUpdate(player.posX+1, player.posY, player.posZ+1); It just changing the x and y coordinates. Can I make player Move toward the mouse but Do not change orientation? Or force the player to press the w key for a while.what should I do?
February 10, 20205 yr Author On 2/9/2020 at 8:21 PM, eatthenight said: get the player look vec3? and then you can accelerate in that direction How to get the player to switch to vec3 after getting it, or do you have a tutorial on this, I can hardly find it online
February 10, 20205 yr 1 hour ago, nooblong said: How to get the player to switch to vec3 after getting it, or do you have a tutorial on this, I can hardly find it online It sounds like you have not tried much. What have you tried so far? Have you looked at the player class definition for functions that might do what you want? You aren’t going to find a tutorial for everything. I hate signatures, they're too distracting
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.