Bullet Gof6DConstrants axis limit
程序员文章站
2022-07-12 09:19:36
...
when we are using btGeneric6DofSpringConstraint for physic constraints, be careful about those methods:
setAngularUpperLimit setAngularLowerLimit setLinearLowerLimit setLinearUpperLimit, the axis will be not limited if the degree value of its minLimit > its maxLimit .
setLimit(aix,minLimit,maxLimit)