@InExcelStudios hmm…. So what can I do with that info, in regards to making a particle initialize at that point?
What is the easiest way to determine the Vector2 where two rectangles collide in #xna? Not using per pixel collision.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles There's a Rectangle.Intersect that returns another Rectangle. You could use the four corners of that to work it out -
@dylanwolf perfect, just what I was looking for. Thanks!
End of conversation
New conversation -
-
-
@DaveVoyles It's not really a single point if there's overlap, check for a resulting rectangle.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@InExcelStudios
@DaveVoyles You can lead a Dave to water.. -
@DiscordJames @InExcelStudios ok, so I can just draw the particle at the new rectangle that it returns. - Show replies
New conversation -
-
-
@DaveVoyles erttr, rectangle.intersects. or did you try that already? :-D -
@SimonDarksideJ That returns a boolean value if I am not mistaken, and not a Vector2 :)@DaveVoyles - Show replies
New conversation -
-
-
@DaveVoyles however it will test FALSE if one rectangle is fully inside another!!,Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@ManoDestra a ray my be the way to go for me. I simply need a small point to determine particle initializationThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.