Get Position

From Fancade Wiki
Revision as of 14:37, 27 June 2024 by -u ndefined- (talk | contribs) (Add link)
Get Position
Get Position.png
TypeScript block
ColliderNone
FolderObjects
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.

Related