Easy to Implement Built-in Functions you should have
-
The values these functions return are readily available under the covers and would be useful; just make them available to users (please).
This one can at least be worked around by knowing the features of the variables, but it should be built-in:
function type(variable)
returns the string name for the type (i.e., "int" "float" "string" "vector" "sprite" "array")This function is helpful for making collision responses. It would also let me skip the (albeit automated) imprecise measurement of models:
function getBoundaryDimensions(placedModel)
returns an array that contains the local coordinates of the upper and lower corner xyz values for the scaled collision bounding box. i.e., [{1,1,1}, {-1,-1,-1}] for a cube that is 2x2x2 around its origin.Thanks for reading,
Jason