Jump to content

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


nooblong

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 comment
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 comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.