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:50] – [GetTimeScale()] 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 449: | Line 451: | ||
TraceMove(inout TraceParam param, TraceEntitiesCallback filtercallback); | TraceMove(inout TraceParam param, TraceEntitiesCallback filtercallback); | ||
- | /*! | + | |
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 | ||
- | */ | + | |
Return type: [[scripting: | Return type: [[scripting: | ||
Line 462: | Line 465: | ||
GetWorldTime(); | GetWorldTime(); | ||
- | //! Returns current lifetime of the World in milliseconds | + | Returns current lifetime of the World in milliseconds |
Return type: [[scripting: | Return type: [[scripting: | ||
Line 470: | Line 473: | ||
GetFrameNumber(); | GetFrameNumber(); | ||
| | ||
- | //! Returns current frame of the World | + | Returns current frame of the World |
Return type: [[scripting: | Return type: [[scripting: | ||
Line 506: | Line 509: | ||
UpdateEntities(); | UpdateEntities(); | ||
| | ||
- | //! Update active entities in the world, do not call from inside another world update (e.g. from IEntity:: | + | Update active entities in the world, do not call from inside another world update (e.g. from IEntity:: |
Return type: [[scripting: | Return type: [[scripting: | ||
Line 514: | Line 517: | ||
CreateWorld(string type, string name); | CreateWorld(string type, string name); | ||
| | ||
- | //! Create new empty BaseWorld | + | Create new empty BaseWorld |
Return type: [[scripting: | Return type: [[scripting: |
scripting/baseworld.1660081842.txt.gz · Last modified: 2022/08/09 22:50 by jerryhopper