Get Position: Difference between revisions
-u ndefined- (talk | contribs) m (Add Related Section) |
-u ndefined- (talk | contribs) m (Add link) |
||
Line 11: | Line 11: | ||
If the input is unwired, outputs the position of the block itself (or the block it is inside). | If the input is unwired, outputs the position of the block itself (or the block it is inside). | ||
Specifically, it gives the position of the object's center of mass. | Specifically, it gives the position of the object's center of mass. Additional calculations are needed to arrive at the [[geometric center of an object]]. | ||
== Related == | == Related == |
Revision as of 14:37, 27 June 2024
Get Position
Type | Script block |
Collider | None |
Folder | Objects |
Ports | |
---|---|
Inputs | Object |
Outputs | Position Rotation |
Given an object, outputs its position and rotation. If the input is unwired, outputs the position of the block itself (or the block it is inside).
Specifically, it gives the position of the object's center of mass. Additional calculations are needed to arrive at the geometric center of an object.