no message

This commit is contained in:
Song Minjae
2017-05-01 08:00:07 +09:00
parent 4a6effff96
commit f8435711dd

View File

@@ -534,7 +534,7 @@ open class ActorWithPhysics(renderOrder: RenderOrder, val immobileBody: Boolean
/**
* nextHitbox must NOT be altered before this method is called!
*/
private fun displaceByCCD() {
@Deprecated("It's stupid anyway.") private fun displaceByCCD() {
ccdCollided = false
if (!isNoCollideWorld) {
@@ -561,6 +561,17 @@ open class ActorWithPhysics(renderOrder: RenderOrder, val immobileBody: Boolean
}
}
/**
* nextHitbox must NOT be altered before this method is called!
*/
private fun resolveWorldCollision() {
// First of all: Rules
// 1. If two sides are touching each other (they share exactly same coord along one axis),
// they are not colliding (just touching)
// 2. If two sides are embedded into each other, they are colliding.
}
private fun hitAndReflectX() {
// when it sticks, externalForce.x goes back and forth
/*