Returns the current motor force.

== Function ==
{{newin|[[0.8.0]]|080|type=variant}}
=== Synopsis ===
<source lang="lua">
force = PrismaticJoint:getMotorForce( invdt )
</source>
=== Arguments ===
{{param|number|invdt|How long the force applies. Usually the inverse time step or 1/dt.}}
=== Returns ===
{{param|number|force|The force on the motor in newtons.}}

== Function ==
{{oldin|[[0.8.0]]|080|type=variant}}
=== Synopsis ===
<source lang="lua">
f = PrismaticJoint:getMotorForce( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|f|The current motor force, usually in N.}}

== See Also ==
* [[parent::PrismaticJoint]]
[[Category:Functions]]
{{#set:Description=Returns the current motor force.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|PrismaticJoint:getMotorForce}}