How to Draw texture between 2 Vector3

Posted by Sparky41 on Game Development See other posts from Game Development or by Sparky41
Published on 2012-11-04T17:47:33Z Indexed on 2012/11/04 23:19 UTC
Read the original article Hit count: 415

Filed under:
|
|
|
|

My scenario: RTS combat style, 1 unit fires beam on another unit

My problem is i want to draw a flat texture between 2 Vector3 points. I have looked at various Billboarding styles but that doesn't give me a proper solution.

I looked at this: http://msdn.microsoft.com/en-us/library/bb464051.aspx

is BasicEffect and DrawPrimitives the correct solution just stretch the texture to the distance between point of origin to target? I used the quad class they used but i found this it seemed to inflexible

So my question to you is how would i go about this sort of problem?

Regards

© Game Development or respective owner

Related posts about c#

Related posts about xna-4.0