Problem with cylinder-to-cylinder colllision

Hey.



I got a problem with PhysicsCylinder… In my test i putted two of them, but they won't collide, they just pass through one another!



However, if I do the same thing and change the PhysicsCylinder to PhysicsBox or PhysicsCapsule it works, they collide perfectly!



Any clue about this issue?



Thanks!

Hi welcome to the forums :slight_smile:



I have re-posted this as a new topic (since it kind of is…)



Hmm, I have no idea about your issue though; could you write a quick test to demonstrate the issue?



Just model one of the SimpleGames tests, or use this as a template:


import java.util.logging.Level;
import java.util.logging.Logger;

import com.jmex.physics.util.SimplePhysicsGame;

public class PhysicsTest extends SimplePhysicsGame {

    protected void simpleInitGame() {
        // Do your init stuff here
    }

    public static void main( String[] args ) {
        Logger.getLogger( "" ).setLevel( Level.WARNING ); // to see the important stuff
        new PhysicsTest().start();
    }
}

It could be that the cylinder <-> cylinder collider has not been implemented yet in ODE.

there is a ode collision matrix, but i'm not sure how recent the information is.

http://opende.sourceforge.net/wiki/index.php/Manual_(Collision_Detection)