Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

I want the playe accelerate forward a certain distance. What should I do


Recommended Posts

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?

Link to post
Share on other sites
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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.