Home
last modified time | relevance | path

Searched refs:collisionNormal (Results 1 – 1 of 1) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DPhysicsComponent.java135 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision() local
137 collisionNormal.normalize(); in resolveCollision()
142 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision()
152 j /= ((collisionNormal.dot(collisionNormal)) * (1 / getMass())); in resolveCollision()
154 Vector2 entity1Adjust = vectorPool.allocate(collisionNormal); in resolveCollision()
156 entity1Adjust.set(collisionNormal); in resolveCollision()
165 vectorPool.release(collisionNormal); in resolveCollision()
174 Vector2 collisionNormal = vectorPool.allocate(opposingNormal); in resolveCollision() local
175 collisionNormal.normalize(); in resolveCollision()
186 final float dotRelativeAndNormal = relativeVelocity.dot(collisionNormal); in resolveCollision()
[all …]