Hi, I'm playing around with dogbot demo and can't find a proper way to change "ears" behavior - I want them feel like they weight more, less bouncy.
I tried increasing their weight but it didn't help - with weight around 30-50 they simply overload dogbot, pushing it down, over the head.
I tried increasing DampingConstant in springsettings for ballsocket ears are connected to head with but no visible effect either: values I tried are 3 and 10 times default DampingConstant value.
What I'm doing wrong here?
Thanks,
S.
Dogbot question - ears
Re: Dogbot question - ears
A BallSocketJoint only manages the linear degrees of freedom at a connection point, so changing its damping constant won't affect rotation.
If you want to damp the angular motion, an AngularMotor with a higher softness value would do the trick. For velocity motors, softness is the inverse of damping. In other words, if softness is 0, damping is infinity (it will try to keep it from moving at all), while if softness is high, then damping is near zero (the motion will barely be affected).
There's also the option of just setting the ear's AngularDamping to a larger value, but this is less physically correct than using a constraint.
If you want to damp the angular motion, an AngularMotor with a higher softness value would do the trick. For velocity motors, softness is the inverse of damping. In other words, if softness is 0, damping is infinity (it will try to keep it from moving at all), while if softness is high, then damping is near zero (the motion will barely be affected).
There's also the option of just setting the ear's AngularDamping to a larger value, but this is less physically correct than using a constraint.
-
- Posts: 49
- Joined: Mon Oct 08, 2012 4:57 pm
Re: Dogbot question - ears
Thanks for your reply Norbo.
AngularMotor (I attached it just like in ActionFigureDemo) worked fine. Setting AngularDamping on entity worked too but didn't give expected result.
AngularMotor (I attached it just like in ActionFigureDemo) worked fine. Setting AngularDamping on entity worked too but didn't give expected result.