Why can't I make an entity rotate properly?

Started by Rukreep on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why can't I make an entity rotate properly?

Hi,

I'm working on a vehicle mod and I cannot get my entity to rotate properly when going up blocks.

 

This is what is happening right now + code.

https://imgur.com/a/879jSG1

 

Can someone tell me what I've done wrong?

Thanks,

Rukreep.

 

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Of course, I want to make…
Sat, 05/21/2022 - 20:26

Of course, I want to make the vehicle turn 45º when it detects a block in its path so that it makes a nice transition when going up blocks.