Add Constraint: Difference between revisions

no edit summary
(Updated the page)
No edit summary
Line 9: Line 9:
|output2={{Port|e|After}}
|output2={{Port|e|After}}
}}
}}
A constraint is an invisible connection between 2 objects. Like when you connect a wheel to a stick, or the rope bridges in drive mad.
 
You probably only want to do this once, [[Play Sensor|on Play]].
A constraint is an invisible connection between 2 [[object]]s.
For examble, the rope bridges in [[Drive Mad]] are implemented using constraints.
This script is usually called when the game starts using [[Play Sensor|on Play]].


== Notes ==
== Notes ==
Have you ever heard of hydraulics and motors? If not then let me explain it to you and the connection of it in this script:
Have you ever heard of hydraulics and motors? If not then let me explain it to you and the connection of it in this script: