Welcome to the Creatures Wiki! Log in and join the community.
POST
(Redirected from Post)
Jump to navigation
Jump to search
POST | ||
---|---|---|
This article is about a CAOS command or function. | ||
Category | [[:Category:CAOS:|]] | |
Version | C2/CV/C3/DS | |
Command | ||
Parameters | ||
Function | ||
Parameters | ||
Return type | [[CAOS types|]] | |
Related | ||
CAOS | POSX, POSY, POSR, POSL, POSB | |
Concepts |
POST is a CAOS function used to check where the topmost part of an object is, in terms of its bounding box.
Usage[edit]
Function[edit]
Syntax: POST (float)
Returns top position of target's bounding box.
Examples[edit]
From Making a Vendor for C3, used to find the point where the object will come out of the vendor:
setv va00 posl addv va00 30 setv va01 post addv va01 10
Note the addition will draw the final vend-point upwards from the top of the vendor.