Add Constraint: Difference between revisions

From Fancade Wiki
(Created page with "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, on Play. /uploads/Add Constraint.png == 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 move...")
 
(Updated the page)
Line 1: Line 1:
{{Block
|image=Add Constraint.png
|folder=physics
|input1={{Port|e|Before}}
|input2={{Port|o|Base}}
|input3={{Port|o|Part}}
|input4={{Port|v|Pivot}}
|output1={{Port|c}}
|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.
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]].
You probably only want to do this once, [[Play Sensor|on Play]].
[[width=336px,alt=Add Constraint|/uploads/Add Constraint.png]]


== Notes ==
== Notes ==
Line 11: Line 19:
* 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]]
* 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!
So, to be exact: [[Constraints]] are basically the relations of motors, pivotals, gears and springs!
 


[[Category:Blocks]]
[[Category:Blocks]]

Revision as of 20:35, 16 May 2024

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. Like when you connect a wheel to a stick, or the rope bridges in drive mad. You probably only want to do this once, 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!