Difference between revisions of "JointType"

(Created page with 'Different types of joints. == Constants == ;distance: A DistanceJoint. ;gear: A GearJoint. ;mouse: A MouseJoint. ;prismatic: A PrismaticJoint. ;pulley: A [[Pulley…')
 
(Constants)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
Different types of joints.
 
Different types of joints.
 
== Constants ==
 
== Constants ==
;distance: A [[DistanceJoint]].
+
;distance: A [[DistanceJoint]]. Keeps two bodies at the same distance.
;gear: A [[GearJoint]].
+
;friction: A [[FrictionJoint]]. A FrictionJoint applies friction to a body.
;mouse: A [[MouseJoint]].
+
;gear: A [[GearJoint]]. Keeps bodies together in such a way that they act like gears.
;prismatic: A [[PrismaticJoint]].
+
;mouse: A [[MouseJoint]]. For controlling objects with the mouse.
;pulley: A [[PulleyJoint]].
+
;prismatic: A [[PrismaticJoint]]. Restricts relative motion between Bodies to one shared axis.
;revolute: A [[RevoluteJoint]].
+
;pulley: A [[PulleyJoint]]. Allows you to simulate bodies connected through pulleys.
 +
;revolute: A [[RevoluteJoint]]. Allow two Bodies to revolve around a shared point.
 +
;rope: A [[RopeJoint]]. The RopeJoint enforces a maximum distance between two points on two bodies.
 +
;weld: A [[WeldJoint]]. A WeldJoint essentially glues two bodies together.
 +
 
 
== See Also ==
 
== See Also ==
 +
* [[parent::Joint]]
 
* [[parent::love.physics]]
 
* [[parent::love.physics]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Different types of joints.}}
 
{{#set:Description=Different types of joints.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|JointType}}

Latest revision as of 12:07, 21 April 2022

Different types of joints.

Constants

distance
A DistanceJoint. Keeps two bodies at the same distance.
friction
A FrictionJoint. A FrictionJoint applies friction to a body.
gear
A GearJoint. Keeps bodies together in such a way that they act like gears.
mouse
A MouseJoint. For controlling objects with the mouse.
prismatic
A PrismaticJoint. Restricts relative motion between Bodies to one shared axis.
pulley
A PulleyJoint. Allows you to simulate bodies connected through pulleys.
revolute
A RevoluteJoint. Allow two Bodies to revolve around a shared point.
rope
A RopeJoint. The RopeJoint enforces a maximum distance between two points on two bodies.
weld
A WeldJoint. A WeldJoint essentially glues two bodies together.

See Also


Other Languages