Inverting player direction?

Discussion in 'Plugin Development' started by Survivalist, Apr 25, 2011.

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

    Survivalist

    Hello. I'm trying to invert a players direction vector for pushing the player backwards using setVelocity().. But I have no idea where to start, I have searched google and the forum and found nothing about doing this. Any help appreciated.
     
  2. Offline

    Sammy

    I'll give you the same answer I gave 3 or 4 posts down from yours:
     
  3. Offline

    Survivalist

    That doesn't answer my question, I already know what you just said. I need to know how to invert the vector.
     
  4. Offline

    Xaw4

    i'm not sure, but i think .multiply(-1) could help?
     
Thread Status:
Not open for further replies.

Share This Page