欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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)