Search found 8 matches

by dikobraz
Fri Mar 25, 2011 10:43 am
Forum: General Bullet Physics Support and Feedback
Topic: Is the international units used in Bullet physics?
Replies: 5
Views: 9461

Re: Is the international units used in Bullet physics?

Is the international units (meter, Newton, Pa) used in Bullet Physics? Thank you. Yes. I have faced only the problem determining btRotationalLimitMotor::m_MaxMotorForce units. In my experiments the unit is not "Newton * meter". I will be very appreciated if someone explains the meaning an...
by dikobraz
Sat Mar 19, 2011 2:06 pm
Forum: General Bullet Physics Support and Feedback
Topic: Is the international units used in Bullet physics?
Replies: 5
Views: 9461

Re: Is the international units used in Bullet physics?

Is the international units (meter, Newton, Pa) used in Bullet Physics? Thank you. Yes. I have faced only the problem determining btRotationalLimitMotor::m_MaxMotorForce units. In my experiments the unit is not "Newton * meter". I will be very appreciated if someone explains the meaning an...
by dikobraz
Wed Feb 16, 2011 6:49 pm
Forum: General Bullet Physics Support and Feedback
Topic: Motor doesn't wake up rigid body
Replies: 6
Views: 9894

Re: Motor doesn't wake up rigid body

I think there is some low threshold, if the m_targetVelocity is too low, no impulse at all is applied. If I scale up the m_targetVelocity high enough, all legs move properly; if I scale it down enough, all legs go limp as in my previous post. Somewhere in the middle, some legs work & some go li...
by dikobraz
Wed Jan 26, 2011 9:37 am
Forum: General Bullet Physics Support and Feedback
Topic: simple actuator?
Replies: 1
Views: 3183

Re: simple actuator?

Anyway, this solution helped me to implement actuator which applies exact torque(or almost exact):

Code: Select all

btVector3 torque = constraint->getAxis(axis) * targetTorque;
constraint->getRigidBodyA().applyTorque( torque);
constraint->getRigidBodyB().applyTorque(-torque);
by dikobraz
Sun Jan 23, 2011 1:20 pm
Forum: General Bullet Physics Support and Feedback
Topic: simple actuator?
Replies: 1
Views: 3183

simple actuator?

Hi everyone! I use btRotationalLimitMotor for simulating simple actuator exerting specified torque on attached bodies. void BulletRotationalServoMotor::setTargetForce(float targetForce_) { targetForce = targetForce_; motor->m_maxMotorForce = fabs(targetForce); motor->m_enableMotor = motor->m_maxMoto...
by dikobraz
Tue Aug 24, 2010 12:39 pm
Forum: General Bullet Physics Support and Feedback
Topic: Motor doesn't wake up rigid body
Replies: 6
Views: 9894

Re: Motor doesn't wake up rigid body

I wasn't able to see from your video if the rigid body really goes to sleep. Maybe you can implement the color of the body to change as a function of the activation state, like in the Bullet demos? In my code I disable deactivation using body->setActivationState(DISABLE_DEACTIVATION); Not really so...
by dikobraz
Tue Aug 24, 2010 9:45 am
Forum: General Bullet Physics Support and Feedback
Topic: Motor doesn't wake up rigid body
Replies: 6
Views: 9894

Motor doesn't wake up rigid body

I was trying to implement some kind of robotic control system and noticed strange behaviour of btRotationalLimitMotor. I use btRotationalLimitMotor in the following way to produce the attached video: btRotationalLimitMotor* motor = contraint->getRotationalLimitMotor(0); // constraint is btGeneric6DO...
by dikobraz
Wed Oct 28, 2009 2:50 pm
Forum: General Bullet Physics Support and Feedback
Topic: Unstable 6DOF constraint
Replies: 0
Views: 2100

Unstable 6DOF constraint

I use Bullet 2.74 and am trying to implement simulation of the robot. For now, robot is presented as five cone shapes linked with generic 6DOF constraints. Limits of the constraints can be viewed on the screenshot. blender_scr.jpg Blender file: sausage.7z 1) The problem occurs when I am trying to li...