Why can't I make an entity rotate properly?

Started by Rukreep on Sat, 05/21/2022 - 20:25

Topic category: Help with modding (Java Edition)

Last seen on 15:22, 31. May 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Why can't I make an entity rotate properly?
Sat, 05/21/2022 - 20:25

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.

 

Last seen on 15:22, 31. May 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.