Flying vehicle lateral movement issues

Started by SwivelSkittle on

Topic category: Help with MCreator software

Active 4 years ago
Joined Nov 2020
Points:
588

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Flying vehicle lateral movement issues

Hello!, I'm developing a mod for a vehicle that is just a simple flying machine, allowing the player to gain and lower in altitude, aswell as move around the sky similar to how a boat works.

I have my BlockBench model implemented into MCreator, and the functionality that lets the entity move and rotate with the players view, aswell as float mid air 

But I have no clue how I would make the vehicle physically move up or down, and how I would bind that function to a key press

Any help would be appreciated.

Use player variable, get…
Thu, 11/12/2020 - 09:15

Use player variable, get entity riding block, and set movement blocks for this.

Active 4 years ago
Joined Jun 2014
Points:
720

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Could you show an example of…
Sat, 01/02/2021 - 23:53

Could you show an example of this? I can't get it to work :(

Active 2 years ago
Joined Feb 2019
Points:
745

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 157
I did something similar, I…
Tue, 01/05/2021 - 14:00

I did something similar, I did it in the version 2020.2
I'm lousy in English
Create two global variables. create an entity and in "On tick update", 
up = "prueba"
down = "downg"
https://drive.google.com/file/d/1CMy8V9o477w8nSDfGJeTcg0-7pG6G9NC/view?…

Now, create two "key binding"
I used "space" to up
https://drive.google.com/file/d/1fOpuFqNklQg1I2TzjljXIfBYU1z4teb3/view?…

and "x" to Down
https://drive.google.com/file/d/1mjYQkczGaUedrUCSxIvlZh2lqG9DyGvs/view?…

There is another way to accomplish all of this with "Entity head pitch in degrees"

Active 5 months ago
Joined Jul 2021
Points:
555

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
The photos have been deleted…
Mon, 08/29/2022 - 06:13

The photos have been deleted, I want to see them too