summaryrefslogtreecommitdiff
path: root/modules/bullet/generic_6dof_joint_bullet.h
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2018-11-27 07:11:28 +0100
committerAndrea Catania <info@andreacatania.com>2018-11-27 07:11:28 +0100
commita395d809a5bc40ff4aef607025db40c84abfac83 (patch)
tree4bca2f469a38af4d6015c90308e58c4cbd3af040 /modules/bullet/generic_6dof_joint_bullet.h
parent631cf676c34e8add973236112251aeb622807e4c (diff)
Added function to control 6DOF precision
Diffstat (limited to 'modules/bullet/generic_6dof_joint_bullet.h')
-rw-r--r--modules/bullet/generic_6dof_joint_bullet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/bullet/generic_6dof_joint_bullet.h b/modules/bullet/generic_6dof_joint_bullet.h
index 176127ed6c..848c3a10cd 100644
--- a/modules/bullet/generic_6dof_joint_bullet.h
+++ b/modules/bullet/generic_6dof_joint_bullet.h
@@ -68,6 +68,9 @@ public:
void set_flag(Vector3::Axis p_axis, PhysicsServer::G6DOFJointAxisFlag p_flag, bool p_value);
bool get_flag(Vector3::Axis p_axis, PhysicsServer::G6DOFJointAxisFlag p_flag) const;
+
+ void set_precision(int p_precision);
+ int get_precision() const;
};
#endif