User Tools

Site Tools


scripting:baseworld

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:baseworld [2022/08/09 22:50] – [GetTimeScale()] jerryhopperscripting: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->end, return 0..1 if trace was sucessfull. traces shape movement along start->end, return 0..1 if trace was sucessfull.
-//OUTPUT:+ 
 +OUTPUT:
 \returnsvalue 0...1, percentage of a path traveled \returnsvalue 0...1, percentage of a path traveled
-*/+
  
 Return type: [[scripting:datatypes#float]] Return type: [[scripting:datatypes#float]]
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:datatypes#float]] Return type: [[scripting:datatypes#float]]
Line 470: Line 473:
   GetFrameNumber();   GetFrameNumber();
      
-//! Returns current frame of the World+Returns current frame of the World
  
 Return type: [[scripting:datatypes#int]] Return type: [[scripting:datatypes#int]]
Line 506: Line 509:
   UpdateEntities();   UpdateEntities();
      
-//! Update active entities in the world, do not call from inside another world update (e.g. from IEntity::EOnXXX)+Update active entities in the world, do not call from inside another world update (e.g. from IEntity::EOnXXX)
  
 Return type: [[scripting:datatypes#void]] Return type: [[scripting:datatypes#void]]
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:datatypes#SharedItemRef ]] Return type: [[scripting:datatypes#SharedItemRef ]]
scripting/baseworld.1660081842.txt.gz · Last modified: 2022/08/09 22:50 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki