From 09c887f38eeb4de22c90e54e3ff02eaf2f32d1ae Mon Sep 17 00:00:00 2001 From: Geoffrey Date: Fri, 16 Mar 2018 13:07:52 +0100 Subject: Implemented interface for bullet joint motors --- doc/classes/Generic6DOFJoint.xml | 57 ++++++++++++++++++++++++++++++++-------- doc/classes/PhysicsServer.xml | 27 ++++++++++++------- 2 files changed, 64 insertions(+), 20 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Generic6DOFJoint.xml b/doc/classes/Generic6DOFJoint.xml index f49f4231e..f538d7875 100644 --- a/doc/classes/Generic6DOFJoint.xml +++ b/doc/classes/Generic6DOFJoint.xml @@ -167,6 +167,33 @@ The maximum difference between the pivot points' z-axis. + + If [code]true[/code] then there is a linear motor on the x-axis. It will attempt to reach the target velocity while staying within the force limits. + + + The maximum force the linear motor can apply on the x-axis while trying to reach the target velocity. + + + The speed that the linear motor will attempt to reach on the x-axis. + + + If [code]true[/code] then there is a linear motor on the y-axis. It will attempt to reach the target velocity while staying within the force limits. + + + The maximum force the linear motor can apply on the y-axis while trying to reach the target velocity. + + + The speed that the linear motor will attempt to reach on the y-axis. + + + If [code]true[/code] then there is a linear motor on the z-axis. It will attempt to reach the target velocity while staying within the force limits. + + + The maximum force the linear motor can apply on the z-axis while trying to reach the target velocity. + + + The speed that the linear motor will attempt to reach on the z-axis. + @@ -184,34 +211,40 @@ The amount of damping that happens at the linear motion across the axes. - + + The velocity the linear motor will try to reach. + + + The maximum force the linear motor will apply while trying to reach the velocity target. + + The minimum rotation in negative direction to break loose and rotate around the axes. - + The minimum rotation in positive direction to break loose and rotate around the axes. - + The speed of all rotations across the axes. - + The amount of rotational damping across the axes. The lower, the more dampening occurs. - + The amount of rotational restitution across the axes. The lower, the more restitution occurs. - + The maximum amount of force that can occur, when rotating around the axes. - + When rotating across the axes, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower. - + Target speed for the motor at the axes. - + Maximum acceleration for the motor at the axes. - + End flag of PARAM_* constants, used internally. @@ -223,7 +256,9 @@ If [code]set[/code] there is a rotational motor across these axes. - + + + End flag of FLAG_* constants, used internally. diff --git a/doc/classes/PhysicsServer.xml b/doc/classes/PhysicsServer.xml index 6c3a43536..dd2c322ee 100644 --- a/doc/classes/PhysicsServer.xml +++ b/doc/classes/PhysicsServer.xml @@ -1331,31 +1331,37 @@ The amount of damping that happens at the linear motion across the axes. - + + The velocity that the joint's linear motor will attempt to reach. + + + The maximum force that the linear motor can apply while trying to reach the target velocity. + + The minimum rotation in negative direction to break loose and rotate around the axes. - + The minimum rotation in positive direction to break loose and rotate around the axes. - + A factor that gets multiplied onto all rotations across the axes. - + The amount of rotational damping across the axes. The lower, the more dampening occurs. - + The amount of rotational restitution across the axes. The lower, the more restitution occurs. - + The maximum amount of force that can occur, when rotating around the axes. - + When correcting the crossing of limits in rotation across the axes, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower. - + Target speed for the motor at the axes. - + Maximum acceleration for the motor at the axes. @@ -1367,6 +1373,9 @@ If [code]set[/code] there is a rotational motor across these axes. + + If [code]set[/code] there is a linear motor on this axis that targets a specific velocity. + The [Shape] is a [PlaneShape]. -- cgit v1.2.3-70-g09d2