What it does
LoadObjectShape writes to a 3DPhysics object: it loads rather than reads. It takes objID (an integer) and fileName (a string), and answers an integer. objID is the id you are giving a 3D object: every later call names it by that number.
Syntax
LoadObjectShape(objID integer, fileName string) → integerParameters
| Name | Type |
|---|---|
| objID | integer |
| fileName | string |
Every form returns
integer
Example · generated
objectShape = LoadObjectShape(1, "assets/data.dat")DO Sync()LOOPLoadObjectShape is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.