Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Ok, I need to fire some ray from a certain x,y location to any direction (360º). This direction should be set by mouse pointer. Any ideas on how to do it?

 

I'm using GDI+ and C# to accomplish this and I would like to use .DrawLine to make the thingie happen.

 

Can't find anything regard this on the web, so, I don't know even where to start it...

Posted

Lucky to me I met someone at GameDev's live chat who is an expert in game coding and sent to me a full example of how to accomplish this.

 

Anyway my thanks for those who showed interest in my thread.

 

- THREAD CLOSED -

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...