Advertisement

Peroxide collision tutorial, anyone got it to work?

Started by November 25, 2001 07:33 AM
1 comment, last by AndersO 23 years, 2 months ago
Hi all! Has anyone tried the peroxide tutorial (http://www.peroxide.dk/tutorials/tut10/pxdtut10.html) and got it to work properly when the sphere/ellipsoid collide with edges? Like this one:
Im sorry.. slightly off topick, but you got my name!!!!
Hello: Anders Oredsson from norway... :-) just had to point it out...

I also have worked on this problem.. (not read the tutorial though..) you have to creat a vector 90 deg off the line(edge), a nd then create a ball direction vector, and then down dim (remove one axis) it to 2D so that the line is a point! Now it should be easy to test how long its from the dot, to the circle of the sphere(now 2D), along the sphere movment direction vector, the oposit way, starting f rom our dot! OK?


-Anders-Oredsson-Norway-
Advertisement
Closing thread since its more about testing code and not so much about math/physics.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net

This topic is closed to new replies.

Advertisement