Pig always faces south when moving

Discussion in 'Plugin Development' started by Murderscene, Mar 16, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Murderscene

    Hey.
    I'm making a pig move to a location using entity.getNavigation().a(x, y, z, yaw, pitch) but when he runs in that direction the pig still has his head looking south at all times.

    I have tried setting the yaw and it does nothing

    How can I make him look in the direction he is running? This never happened prior to 1.5
     
  2. Offline

    Lolmewn

    Maybe it's just a bug in craftbukkit. I'd think setting the yaw and pitch would do this
     
  3. Offline

    Murderscene

    Yeah that's what i'm thinking. If I set the yaw after a few ticks the pig will face that direction but then turn his head back to south very fast. It's like he is targetting the south.

    UPDATE: I just tested spawning a pig with an egg on a multiplayer server and it continues to always look south. It must just be a craftbukkit issue
     
Thread Status:
Not open for further replies.

Share This Page