Solved Block floating on player's head?

Discussion in 'Plugin Development' started by TigerHix, Nov 22, 2013.

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

    TigerHix

    So lets explain this in one single picture:

    [​IMG]

    You can try this out at mineplex.com server - the Block Hunt game. In this minigame, there will be a block floating above player's head and follows them. I believe its a falling block but with some packet tricks (it seems like even you encounters lag, the block still floats smoothly). So how to make this effect?

    Constantly teleporting the block to players Y+2 does not work.

    Any help will be appreciated. Thanks!
     
  2. Offline

    Freelix2000

    I think they probably create a falling block and set its velocity. I'm not good with velocities, so I won't be able to help much.
     
    SuperSniper1379 and TigerHix like this.
  3. Offline

    TigerHix

    Freelix2000

    Well I have already tried that out but seems like won't work. :(
     
  4. Offline

    DarkBladee12

    TigerHix They probably used "PLAYER.setPassenger(FALLINGBLOCK);" ;)
     
    TigerHix likes this.
  5. Offline

    TigerHix

    Woo~ You made my day!
    Thanks to both of you!
     
  6. Offline

    Blingdaddy1

    TigerHix or I could ask the owner of Mineplex on skype to see how he did it lawl
     
Thread Status:
Not open for further replies.

Share This Page