![](http://www.kemisten.nu/lgh10/cd.gif)
Peroxide collision tutorial, anyone got it to work?
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:
![](http://www.kemisten.nu/lgh10/cd.gif)
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?
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-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement