Results 1 to 4 of 4

Thread: Drawing lines between vectors

  1. #1

    Drawing lines between vectors

    I'm unfamiliar with vector math and such, so please bear with me.

    How would I go about drawing a line between two vectors?

  2. #2
    Possibly clarify a bit more on that or give a descriptive explanation of what it is you want to do? I 'think' I know what you mean but am not sure, anyway here are some usefull links.

  3. #3
    I have two vectors and I need to draw some sort of line onscreen linking their two positions.

    (Actor.DrawDebugLine, but more reliably and hopefully faster )

  4. #4
    Hmm...You could use an emitter (such as that used by the link gun) to draw a line between them OR you could try using an interaction and using the function WorldToScreen if you aboloutly must use the canvas. (if you want a direction vector of one pointing to the other it's simply Location1-Location2)

    Handy thing is you will find functions to do the complicated math stuff you want most of the time unless your really digging into something very complicated.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts