Skip to content

SFramework v0.3.1

Compare
Choose a tag to compare
@mitchwadair mitchwadair released this 03 Mar 02:02
· 47 commits to master since this release
cd44c1d
  • Adds Triangle collider
    • Physics component now has colliderType public property
      • robust, case-insensitive but must take BOX, TRIANGLE, or CIRCLE
      • defaults to BOX
    • GameObject:AddPhysics now takes colliderType arg
  • Updates SAT algorithm to be a little more robust
    • Generalizes OBBs (box, triangle)
    • uses vertex-based axes now that there aren't just boxes
  • add table.length
    • gets the length of any table, whether number-indexed or not
    • pretty inefficient, has to go through every single table entry
      • should really only be used for tables of small size
  • includes collider visualization sprites in build