Click here to Skip to main content
15,922,166 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Generalcapturing user's action Pin
dnprock16-Jan-04 13:27
dnprock16-Jan-04 13:27 
Question(MSMQ) Whats the Best Way to Poll a Queue? Pin
Vlad Gabovich15-Jan-04 11:33
Vlad Gabovich15-Jan-04 11:33 
GeneralInfo on MS Intermediate Language Pin
Aamir Mughal15-Jan-04 2:40
Aamir Mughal15-Jan-04 2:40 
GeneralRe: Info on MS Intermediate Language Pin
Mike Dimmick15-Jan-04 4:05
Mike Dimmick15-Jan-04 4:05 
GeneralSOAP and serialization Pin
ProffK14-Jan-04 23:10
ProffK14-Jan-04 23:10 
GeneralWord-addin Pin
klawipo14-Jan-04 6:29
klawipo14-Jan-04 6:29 
GeneralAdvanced Collision Detection with GDI+ Pin
david@mindplay.com13-Jan-04 9:34
david@mindplay.com13-Jan-04 9:34 
GeneralRe: Advanced Collision Detection with GDI+ Pin
pwinant14-Jan-04 10:29
pwinant14-Jan-04 10:29 
Hi David,

I don't pretend to understand collision detection/response well at all, but I was looking into this kind of thing a few months back and I ran across an article that might help. This may be more than you need since it seems like you're talking about a 2D problem as opposed to a 3D one but I think it will work out the same. In the formulas below, V is the velocity vector of your ship, N is the surface normal of the plane you are colliding with, Vn is the velocity in the normal direction, Vt is the velocity in the direction tangential to the surface normal, and V1 is the new velocity vector you're looking for.

Vn = (N . V) * N <-- supposed to mean "the dot product of N and V, multiplied by N"
Vt = V - Vn
V1 = Vt - Vn

I got this from the following gamasutra article (and there's a picture in there explaining what the different vectors represent):
http://www.gamasutra.com/features/20000208/lander_01.htm

Hope this helps!


Phil
GeneralRe: Advanced Collision Detection with GDI+ Pin
david@mindplay.com15-Jan-04 9:05
david@mindplay.com15-Jan-04 9:05 
GeneralRe: Advanced Collision Detection with GDI+ Pin
pwinant15-Jan-04 13:03
pwinant15-Jan-04 13:03 
GeneralRe: Advanced Collision Detection with GDI+ Pin
david@mindplay.com15-Jan-04 13:37
david@mindplay.com15-Jan-04 13:37 
GeneralRe: Advanced Collision Detection with GDI+ Pin
david@mindplay.com17-Jan-04 14:00
david@mindplay.com17-Jan-04 14:00 
GeneralLaunching an outside app with .NET Pin
bneacetp13-Jan-04 3:18
bneacetp13-Jan-04 3:18 
GeneralRe: Launching an outside app with .NET Pin
Niels Penneman13-Jan-04 5:45
Niels Penneman13-Jan-04 5:45 
GeneralRe: Launching an outside app with .NET Pin
bneacetp13-Jan-04 7:54
bneacetp13-Jan-04 7:54 
Questionhow to get install path Pin
yu-yu12-Jan-04 20:53
yu-yu12-Jan-04 20:53 
AnswerRe: how to get install path Pin
Heath Stewart14-Jan-04 9:41
protectorHeath Stewart14-Jan-04 9:41 
GeneralRe: how to get install path Pin
yu-yu14-Jan-04 15:37
yu-yu14-Jan-04 15:37 
QuestionHow do you access the scrollbar of a panel? Pin
pwinant12-Jan-04 15:49
pwinant12-Jan-04 15:49 
AnswerRe: How do you access the scrollbar of a panel? Pin
Heath Stewart14-Jan-04 9:30
protectorHeath Stewart14-Jan-04 9:30 
GeneralRe: How do you access the scrollbar of a panel? Pin
pwinant14-Jan-04 10:04
pwinant14-Jan-04 10:04 
GeneralMultithread synchronisation in VB.net Pin
Paul Farry11-Jan-04 20:46
professionalPaul Farry11-Jan-04 20:46 
GeneralSuspend/resume Pin
Anonymous10-Jan-04 17:31
Anonymous10-Jan-04 17:31 
GeneralProblem: difference in behavior between ASP.NET &amp; .NET EXE calling SOAP::Lite web service Pin
claughlin9-Jan-04 6:07
claughlin9-Jan-04 6:07 
Generalabout how to use package installer Pin
Anonymous8-Jan-04 22:31
Anonymous8-Jan-04 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.