indigo.physics

package indigo.physics

Members list

Type members

Classlikes

enum Collider[A]

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case Circle[A]
case Box[A]
object Collider

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Collider.type
final case class Displacement(amount: Double, normal: Vector2, contact: LineSegment, massA: Mass, massB: Option[Mass])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Displacement

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Friction

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Friction.type
object Mass

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Mass.type
object Physics

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Physics.type
object Resistance

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Resistance.type
object Restitution

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class World[A](colliders: Batch[Collider[A]], forces: Batch[Vector2], resistance: Resistance)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object World

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
World.type

Types

opaque type Friction
opaque type Mass
opaque type Resistance

Resistance is the general resistance to movement in the atmosphere, be that wind resistance or water resistance.

Resistance is the general resistance to movement in the atmosphere, be that wind resistance or water resistance.

Attributes

opaque type Restitution