From 0fcfb07246dda4412eebf42394a9d0a30081bb16 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Wed, 13 Sep 2023 13:45:24 +0200 Subject: Update PinJoint2D API with angle limits and motor speed add enabled methods for motor and angular limits use correct name to get joint update copyright --- doc/classes/PinJoint2D.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/classes/PinJoint2D.xml') diff --git a/doc/classes/PinJoint2D.xml b/doc/classes/PinJoint2D.xml index 6adfc818e7..a252f60312 100644 --- a/doc/classes/PinJoint2D.xml +++ b/doc/classes/PinJoint2D.xml @@ -9,6 +9,21 @@ + + If [code]true[/code], the pin maximum and minimum rotation, defined by [member angular_limit_lower] and [member angular_limit_upper] are applied. + + + The minimum rotation. Only active if [member angular_limit_enabled] is [code]true[/code]. + + + The maximum rotation. Only active if [member angular_limit_enabled] is [code]true[/code]. + + + When activated, a motor turns the pin. + + + Target speed for the motor. In radians per second. + The higher this value, the more the bond to the pinned partner can flex. -- cgit v1.2.3