Created
August 25, 2012 14:52
-
-
Save reustonium/3466733 to your computer and use it in GitHub Desktop.
Flashpunk Clamp() Problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inside an update() where I can increase speed.x | |
FP.clamp(speed.x, -2, 2); | |
trace(speed.x); | |
// My trace shows values outside the clamped range :-( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment