bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

btMultiBodySphericalJointMotor: 'setVelocityTarget()' and 'setVelocityTargetMultiDof()' can't get to work.

walkerism opened this issue · comments

When using these functions I see no affect on the link. I've tried both functions with a varying scale velocities. Set the maxMotorImpulse to a number of different values too and no difference.

"setPositionTargetMultiDof()" works, so it doesn't appear to be an issue with how the constraint is set up. Am I missing something?

*Can use "pMultibody->AddJointTorque()" as a workaround (you may need to scale the torque applied).

Happy to close this if asked, but will leave open for now as the desired behaviour of setVelocityTargetMultiDof() is not being met.