killed userprefs file
minor cleanup of demo PlayerTester
Removed unused variable from PlayerTester script.
added in trigger support via an interesting hack
store up collision events so that we can fire them all at the same time. this will avoid the case where all the collision flags are not yet set when the first collision event occurs.
added some stuff for a version of Unity that isn't yet available...
added a nice, clean, useable physics based movement system and example (that only works with mythical versions of Unity >= 4.5)
massive reorganization of the folder structure to simplify bringing the CharacterController2D into existing projects
learning to spell
this commit only exists to show how much of a fool i am. pretty much all of it will be reverted out in a moment.
i believe this update will fix any and all issues with corner penetration
just added a comment explaining what we were doing
removed tester blocks
updated slope handling to work both vertically and horizontally. the CC2D will now stay grounded when going down slopes.
note that the slopeSpeedModifier now requires values from -90 - 90. the -90 - 0 section is used for downward slopes.
cleaned up that last round of changes:
- added properties for skinWidth and slopeLimit so that the setters can be used to trigger recalculations
- cached the tangent call since it will be hit every frame
disable the player collider in Awake since it doesn't serve any purpose other than as a way to calculate ray origins
added movingDownSlope and slopeAngle to collisionState to provide some extra relevant information
made the slopeSpeedModifier curve > 0 when on a negative slope
minor cleansing. slopes currently don't work well when steep with EdgeCollider2D's but they work fine with BoxCollider2Ds
accidentally made slopeLimit private
don't count climbing slopes as a side collision!
death to whitespace
added note about collider horizontal offer to the ReadMe