Merge branch 'master' of https://github.com/erwincoumans/bullet3
# Conflicts: # examples/SharedMemory/PhysicsServerCommandProcessor.cpp
This commit is contained in:
@@ -2958,7 +2958,7 @@ void PhysicsServerCommandProcessor::stepSimulationRealTime(double dtInSec)
|
|||||||
if (motor)
|
if (motor)
|
||||||
{
|
{
|
||||||
motor->setErp(0.2);
|
motor->setErp(0.2);
|
||||||
btScalar posTarget = 0.1 + (1 - btMin(0.75,gVRGripperAnalog)*1.5)*SIMD_HALF_PI*0.29;
|
btScalar posTarget = 0.1 + (1 - btMin(btScalar(0.75),gVRGripperAnalog)*btScalar(1.5))*SIMD_HALF_PI*0.29;
|
||||||
btScalar maxPosTarget = 0.55;
|
btScalar maxPosTarget = 0.55;
|
||||||
|
|
||||||
if (m_data->m_gripperMultiBody->getJointPos(i) < 0)
|
if (m_data->m_gripperMultiBody->getJointPos(i) < 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user