Bullet Gof6DConstrants axis limit

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)

猜你喜欢

转载自liuqzan.iteye.com/blog/1965197