Internal
indigo.physics.Physics.Internal
object Internal
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Internal.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
def calculateNewMovement(timeDelta: Seconds, worldForces: Vector2, worldResistance: Resistance, position: Vertex, velocity: Vector2, terminalVelocity: Vector2, mass: Mass): (Vertex, Vector2)
def combineAndCull[A](indexedColliders: Batch[IndexedCollider[A]], transient: Batch[Collider[A]], simulationBounds: BoundingBox): Batch[IndexedCollider[A]]
def findCollisionGroups[A](indexedColliders: Batch[IndexedCollider[A]], transient: Batch[Collider[A]], settings: SimulationSettings): Batch[(IndexedCollider[A], Batch[Collider[A]])]
def moveCollider[A](timeDelta: Seconds, worldForces: Vector2, worldResistance: Resistance)(colliderWithIndex: (Collider[A], Int)): IndexedCollider[A]
def moveColliders[A](timeDelta: Seconds, colliders: Batch[Collider[A]], combinedForce: Vector2, resistance: Resistance): Batch[IndexedCollider[A]]
def solveAllCollisions[A](collisions: Batch[(IndexedCollider[A], Batch[Collider[A]])]): Batch[IndexedCollider[A]]
def solveCollisionWithBox[A](displacement: Displacement, position: Vertex, center: Vertex, target: Box[A], velocity: Vector2, friction: Friction, displaceBy: Vector2, continueDistance: Double, remainingEnergy: Double): Solved
def solveCollisionWithCircle[A](ray: LineSegment, position: Vertex, target: Circle[A], velocity: Vector2, friction: Friction, displaceBy: Vector2, continueDistance: Double, remainingEnergy: Double): Solved
def solveCollisions[A](indexed: IndexedCollider[A], collidees: Batch[Collider[A]]): IndexedCollider[A]
Givens
Givens
given given_CanEqual_IndexedCollider_IndexedCollider[A]: CanEqual[IndexedCollider[A], IndexedCollider[A]]
In this article