how to use vectors

Discussion in 'Plugin Development' started by matter123, Jul 9, 2011.

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

    matter123

    how do i use vectors like i want t move an entities west @ 6 m\s how would i do that?
     
  2. Offline

    Haias

    I've never done this myself, from what my Object Browser shows me, you could probably just do this:
    entity.setVelocity(new Vector(6, 0, 0));

    I'm just basing this off of these two pages. 1 2
     
  3. Offline

    matter123

    ok ill give that a try
     
Thread Status:
Not open for further replies.

Share This Page