15 #include "bulletConstraint.h" 16 #include "bulletRigidBodyNode.h" 25 void BulletConstraint::
26 enable_feedback(
bool value) {
28 ptr()->enableFeedback(value);
36 PN_stdfloat BulletConstraint::
37 get_applied_impulse()
const {
39 return (PN_stdfloat)ptr()->getAppliedImpulse();
47 void BulletConstraint::
48 set_debug_draw_size(PN_stdfloat size) {
50 ptr()->setDbgDrawSize((btScalar)size);
58 PN_stdfloat BulletConstraint::
59 get_debug_draw_size() {
61 return (PN_stdfloat)ptr()->getDbgDrawSize();
91 void BulletConstraint::
92 set_param(ConstraintParam num, PN_stdfloat value,
int axis) {
94 ptr()->setParam((btConstraintParams)num, (btScalar)value, axis);
102 PN_stdfloat BulletConstraint::
103 get_param(ConstraintParam num,
int axis) {
105 return (PN_stdfloat)ptr()->getParam((btConstraintParams)num, axis);
TypeHandle is the identifier used to differentiate C++ class types.