Get Position: Difference between revisions
Nikitaivanov (talk | contribs) (Created page with "Given an object, outputs its position and rotation. If the pink 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. /uploads/Get Position.png Category:Blocks ") |
No edit summary |
||
Line 1: | Line 1: | ||
Given an object, outputs its position and rotation. If the | {{Block | ||
|image=Get Position.png | |||
|type=s | |||
|folder=objects | |||
|input1={{Port|o}} | |||
|output1={{Port|v|Position}} | |||
|output2={{Port|r}} | |||
}} | |||
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. | Specifically, it gives the position of the object's center of mass. | ||
[[Category:Blocks]] | [[Category:Blocks]] |
Revision as of 19:39, 18 May 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.