Jump to content

Gloveman

Members
  • Posts

    2
  • Joined

  • Last visited

Gloveman's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. For anyone looking here in the future, I never solved this problem, but I found a workaround by simply ungrabbing the mouse, preventing mouse movement.
  2. I'll preface this by saying I'm almost certainly doing something really stupid here, but I'm at a loss. I'm running the following on the client: player.lookAt(EntityAnchorArgument.Type.EYES,player.getLookAngle()); player is an instance of PlayerEntity. The problem is that every time I test it, it forces the player to look in the same direction, regardless of where they were looking previously. The intended behavior is for this to run repeatedly as a potion effect, which will just lock the player's camera direction for the duration, so they can't rotate the camera. That part works fine, it just locks the camera facing the wrong direction. I currently have it running on the client, but I tested it on the server side and it behaves the same way. Any suggestions would be much appreciated.
×
×
  • Create New...

Important Information

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