1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Motion Manipulation

Discussion in 'Development' started by Skullex, Dec 13, 2016.

  1. Skullex

    Skullex Spider

    Messages:
    13
    GitHub:
    skull3x
    I am currently attempting to create a public function for a block that pulls a player(s) to it whether it is above, below and to the left or right of the player; using
    PHP:
    $motionX$motionY$motionZ
    or anything better. Is there any way I could accomplish that?
     
  2. KnownUnown

    KnownUnown Spider Jockey Poggit Reviewer

    Messages:
    47
    GitHub:
    knownunown
    Have you considered using teleportation functions?

    IIRC the animation is comparable (close-range anyway) to if you set motion vectors for the player.
     
  3. Skullex

    Skullex Spider

    Messages:
    13
    GitHub:
    skull3x
    That I also have down, but I have never attempted to create such a function for a block and I lack the information to do so. Do you have any resources I could use as guidance?
     
  4. KnownUnown

    KnownUnown Spider Jockey Poggit Reviewer

    Messages:
    47
    GitHub:
    knownunown
    SOFe likes this.
  5. Skullex

    Skullex Spider

    Messages:
    13
    GitHub:
    skull3x
  6. Aviv

    Aviv Baby Zombie

    Messages:
    156
    Skullex likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.