Hello,
I want to lock the btSliderConstraint angular movement. Could anyone help me how to setup the parameters?
Applesun
How to lock btSliderConstraint angular movement?
-
- Posts: 1
- Joined: Thu Jul 17, 2008 7:45 am
-
- Posts: 56
- Joined: Sat Mar 08, 2008 12:37 am
Re: How to lock btSliderConstraint angular movement?
Hello,
Just set m_lowerAlgLimit == m_upperAngLimit, e.g.
pSlider->setLowerAngLimit(0.0F);
pSlider->setUpperAngLimit(0.0F);
Hope this will help,
Roman
Just set m_lowerAlgLimit == m_upperAngLimit, e.g.
pSlider->setLowerAngLimit(0.0F);
pSlider->setUpperAngLimit(0.0F);
Hope this will help,
Roman