24 void BulletConstraint::
25 enable_feedback(
bool value) {
27 ptr()->enableFeedback(value);
33 PN_stdfloat BulletConstraint::
34 get_applied_impulse()
const {
36 return (PN_stdfloat)ptr()->getAppliedImpulse();
42 void BulletConstraint::
43 set_debug_draw_size(PN_stdfloat size) {
45 ptr()->setDbgDrawSize((btScalar)size);
51 PN_stdfloat BulletConstraint::
52 get_debug_draw_size() {
54 return (PN_stdfloat)ptr()->getDbgDrawSize();
78 void BulletConstraint::
79 set_param(ConstraintParam num, PN_stdfloat value,
int axis) {
81 ptr()->setParam((btConstraintParams)num, (btScalar)value, axis);
87 PN_stdfloat BulletConstraint::
88 get_param(ConstraintParam num,
int axis) {
90 return (PN_stdfloat)ptr()->getParam((btConstraintParams)num, axis);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.