Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to update entitys?

Comments in 'Plugin Development' started by ultima_modder, Dec 8, 2013.

  1. ultima_modder
    Offline

    ultima_modder New Member

    Joined:
    Dec 8, 2013
    Posts:
    1
    Hello.

    I need help updating the entity-position.

    I tried:
    PHP:
    $entity-> setPosition (new Vector3 ($x$y$z));
    $entity-> update (); //Doesnt work
    $entity-> updatePosition (); //Also doesnt work
    $entity-> updateLast (); //Again doesnt work
    I looked into the source, but this was the only things i found.
    I hope someone can help me.

    Thanks.

Share This Page

Advertisement