scripting:baseworld
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:baseworld [2022/08/09 22:51] – [TracePosition()] jerryhopper | scripting:baseworld [2022/08/09 22:53] (current) – [TraceMove()] jerryhopper | ||
---|---|---|---|
Line 21: | Line 21: | ||
+ | --- | ||
Line 438: | Line 439: | ||
| | ||
traces shape collision at start position, return <0 if we hit something | traces shape collision at start position, return <0 if we hit something | ||
- | //OUTPUT: | + | |
- | \returnsvalue 0 or negative number as penetration depth | + | OUTPUT: |
+ | returnsvalue 0 or negative number as penetration depth | ||
Line 451: | Line 453: | ||
traces shape movement along start-> | traces shape movement along start-> | ||
- | //OUTPUT: | + | |
+ | OUTPUT: | ||
\returnsvalue 0...1, percentage of a path traveled | \returnsvalue 0...1, percentage of a path traveled | ||
scripting/baseworld.1660081891.txt.gz · Last modified: 2022/08/09 22:51 by jerryhopper