CHAI3DCHAI3D

normal SetDamping Doesn't work

More
17 Jun 2016 11:33 #1

I created a cylinder as following

cCreateCylinder(base,
                   FloorHight,
                    0.5,
                    30,
                    10,
                    1,
                    true,
                    true,
                    cVector3d(0, 0.0, 0.0),
                    cMatrix3d(cDegToRad(0), cDegToRad(0), cDegToRad(0), C_EULER_ORDER_XYZ)
                    );// name hight radius numsides numhight sements

    // set material properties
	base->setLocalPos(0,0,FloorZ);
	base->setFrameSize(0.2,false);
	base->setShowFrame(true);
        base->m_material->setGrayGainsboro();
        base->m_material->setStiffness(0.4 * maxStiffness);
        base->m_material->setDamping(1000);
	base->m_material->setDynamicFriction(0.1);
	base->m_material->setStaticFriction(0.6);
	base->setTransparencyLevel(0.7);
I can feel the stifness and the friction but I CNAN NOT feel the Damping , I tried a wide spectrum of values {0.5, 0.9, 1, 100, 500, 100} ALL of tem didn't work.

any suggestions ?

Please Log in or Create an account to join the conversation.

More
20 Jun 2016 00:07 #2

Many of the parameters that are located in the cMaterial class require enabling the different haptic effects accordingly. Please check example 11-effects for some examples.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum