Add Constraint

From Fancade Wiki
Add Constraint
Add Constraint.png
TypeNormal
ColliderNone
FolderPhysics
Ports
Inputs Before
Base
Part
Pivot
Outputs Constraint
After

A constraint is an invisible connection between 2 objects. For examble, the rope bridges in Drive Mad are implemented using constraints. This script is usually called when the game starts using on Play.

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:

Hydraulic and Motors are both type of motors that produces different movements using either similar or different elements:

  • Hydraulic – from the word hydro, usually uses fluids (either water or air) to produce Linear Motor movements that can also be achieved with the use of gears and Rotary Motor in real life.
  • Motor – the most common motor we know. It produces rotary movements. In Fancade we can produce something like it with the help of constraints and Angular Motor

So, to be exact: Constraints are basically the relations of motors, pivotals, gears and springs!