public void Init()
        {
            // register all interactions!

            // sphere
            MyRBSphereElementSphereElementInteraction sphsph = new MyRBSphereElementSphereElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_SPHERE, sphsph);

            MyRBSphereElementBoxElementInteraction sphbox = new MyRBSphereElementBoxElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_BOX, sphbox);

            MyRBSphereElementCapsuleElementInteraction sphcap = new MyRBSphereElementCapsuleElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_CAPSULE, sphcap);

            MyRBSphereElementTriangleMeshElementInteraction sphtri = new MyRBSphereElementTriangleMeshElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_TRIANGLEMESH, sphtri);

            MyRBSphereElementVoxelElementInteraction sphvox = new MyRBSphereElementVoxelElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_VOXEL, sphvox);

            // box
            MyRBBoxElementBoxElementInteraction boxbox = new MyRBBoxElementBoxElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_BOX, boxbox);

            MyRBBoxElementCapsuleElementInteraction boxcap = new MyRBBoxElementCapsuleElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_CAPSULE, boxcap);

            MyRBBoxElementTriangleMeshElementInteraction boxtri = new MyRBBoxElementTriangleMeshElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_TRIANGLEMESH, boxtri);

            MyRBBoxElementVoxelElementInteraction boxvox = new MyRBBoxElementVoxelElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_VOXEL, boxvox);

            // capsule
            MyRBCapsuleElementCapsuleElementInteraction capcap = new MyRBCapsuleElementCapsuleElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_CAPSULE, capcap);

            MyRBCapsuleElementTriangleMeshElementInteraction captri = new MyRBCapsuleElementTriangleMeshElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_TRIANGLEMESH, captri);

            MyRBCapsuleElementVoxelElementInteraction capvox = new MyRBCapsuleElementVoxelElementInteraction();

            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_VOXEL, capvox);
        }
        public void Init()
        {
            // register all interactions!

            // sphere
            MyRBSphereElementSphereElementInteraction sphsph = new MyRBSphereElementSphereElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_SPHERE, sphsph);

            MyRBSphereElementBoxElementInteraction sphbox = new MyRBSphereElementBoxElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_BOX, sphbox);

            MyRBSphereElementCapsuleElementInteraction sphcap = new MyRBSphereElementCapsuleElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_CAPSULE, sphcap);

            MyRBSphereElementTriangleMeshElementInteraction sphtri = new MyRBSphereElementTriangleMeshElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_TRIANGLEMESH, sphtri);

            MyRBSphereElementVoxelElementInteraction sphvox = new MyRBSphereElementVoxelElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_SPHERE, MyRBElementType.ET_VOXEL, sphvox);

            // box
            MyRBBoxElementBoxElementInteraction boxbox = new MyRBBoxElementBoxElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_BOX, boxbox);

            MyRBBoxElementCapsuleElementInteraction boxcap = new MyRBBoxElementCapsuleElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_CAPSULE, boxcap);

            MyRBBoxElementTriangleMeshElementInteraction boxtri = new MyRBBoxElementTriangleMeshElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_TRIANGLEMESH, boxtri);

            MyRBBoxElementVoxelElementInteraction boxvox = new MyRBBoxElementVoxelElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_BOX, MyRBElementType.ET_VOXEL, boxvox);

            // capsule
            MyRBCapsuleElementCapsuleElementInteraction capcap = new MyRBCapsuleElementCapsuleElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_CAPSULE, capcap);

            MyRBCapsuleElementTriangleMeshElementInteraction captri = new MyRBCapsuleElementTriangleMeshElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_TRIANGLEMESH, captri);

            MyRBCapsuleElementVoxelElementInteraction capvox = new MyRBCapsuleElementVoxelElementInteraction();
            RegisterRBElementInteraction(MyRBElementType.ET_CAPSULE, MyRBElementType.ET_VOXEL, capvox);
        }