Add Force: Difference between revisions
Nikitaivanov (talk | contribs) No edit summary |
(Replaced unused template) |
||
Line 15: | Line 15: | ||
== Inputs == | == Inputs == | ||
* {{ | * {{Port|o|Object}}: The object you want to apply force to. | ||
* {{ | * {{Port|v|Force}}: The force to apply to that object. | ||
* {{ | * {{Port|v|Apply At}}: Where on the object you want to apply the force, it's applied at the center of mass by default. | ||
* {{ | * {{Port|v|Torque}}: The rotational equivalent of a linear force, changing the object's rotational motion. | ||
== Notes == | == Notes == |
Revision as of 15:13, 17 July 2024
Add Force
Type | Script block |
Collider | None |
Folder | Physics |
Ports | |
---|---|
Inputs | Before Object Force Apply At Torque |
Outputs | After |
Adds a force and/or a torque to an object.
Inputs
- Object: The object you want to apply force to.
- Force: The force to apply to that object.
- Apply At: Where on the object you want to apply the force, it's applied at the center of mass by default.
- Torque: The rotational equivalent of a linear force, changing the object's rotational motion.
Notes
- A torque force applied on the first frame, or the same frame that an object is created, seems to have no effect. A normal force works just fine, and torque forces work just fine after the first frame.