fixtures won't spawn when there's block or other fixtures

This commit is contained in:
minjaesong
2019-05-31 22:57:20 +09:00
parent 874834b2d1
commit ec8b57abd1
8 changed files with 51 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ import org.dyn4j.geometry.Vector2
*
* Created by minjaesong on 2016-01-15.
*/
class Hitbox(x1: Double, y1: Double, width: Double, height: Double, var suppressWarning: Boolean = false) {
class Hitbox (x1: Double, y1: Double, width: Double, height: Double, var suppressWarning: Boolean = true) {
@Volatile var hitboxStart: Point2d
private set