Flying vehicle lateral movement issues

Started by SwivelSkittle on

Topic category: Help with MCreator software

Last seen on 00:14, 23. Nov 2020
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Last seen on 09:38, 13. Jan 2021
Joined Jun 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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 :(

Last seen on 00:59, 19. Oct 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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"

Last seen on 06:38, 4. Jan 2024
Joined Jul 2021
Points:

User statistics:

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

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