Merge pull request #23994 from AndreaCatania/prec
Added function to control 6DOF precision
This commit is contained in:
commit
78cdbc54b0
8 changed files with 58 additions and 1 deletions
|
|
@ -348,6 +348,9 @@ public:
|
|||
virtual void generic_6dof_joint_set_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag, bool p_enable);
|
||||
virtual bool generic_6dof_joint_get_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag);
|
||||
|
||||
virtual void generic_6dof_joint_set_precision(RID p_joint, int precision) {}
|
||||
virtual int generic_6dof_joint_get_precision(RID p_joint) { return 0; }
|
||||
|
||||
virtual JointType joint_get_type(RID p_joint) const;
|
||||
|
||||
virtual void joint_set_solver_priority(RID p_joint, int p_priority);
|
||||
|
|
|
|||
|
|
@ -734,6 +734,9 @@ public:
|
|||
virtual void generic_6dof_joint_set_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag, bool p_enable) = 0;
|
||||
virtual bool generic_6dof_joint_get_flag(RID p_joint, Vector3::Axis, G6DOFJointAxisFlag p_flag) = 0;
|
||||
|
||||
virtual void generic_6dof_joint_set_precision(RID p_joint, int precision) = 0;
|
||||
virtual int generic_6dof_joint_get_precision(RID p_joint) = 0;
|
||||
|
||||
/* QUERY API */
|
||||
|
||||
enum AreaBodyStatus {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue