Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Easy to Implement Built-in Functions you should have

    Comments & Feedback
    useful easy
    1
    1
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chronos
      Chronos last edited by

      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

      1 Reply Last reply Reply Quote 1
      • First post
        Last post