Physics

Physics system: colliders, triggers, rigidbodies, joints, scene queries, etc.

Classes

  • ColliderShape — Represents a single collider shape that can be assigned to a collider.
  • Collider Physics object that can be interacted with in the physics world.
  • BoxCollider Collider with box geometry.
  • CapsuleCollider Collider with a capsule geometry.
  • CharacterController — Special physics controller meant to be used for game characters.
  • Joint — Base class for all Joint types.
  • D6Joint — Represents the most customizable type of joint.
  • DistanceJoint — A joint that maintains an upper or lower (or both) bound on the distance between two bodies.
  • FixedJoint Physics joint that will maintain a fixed distance and orientation between its two attached bodies.
  • HingeJoint — Hinge joint removes all but a single rotation degree of freedom from its two attached bodies (for example a door hinge).
  • MeshCollider — A collider represented by an arbitrary mesh.
  • PlaneCollider — A collider with plane geometry.
  • Rigidbody Rigidbody is a dynamic physics object that can be moved using forces (or directly).
  • SliderJoint Joint that removes all but a single translational degree of freedom.
  • SphereCollider — A collider with sphere geometry.
  • SphericalJoint — A spherical joint removes all translational degrees of freedom but allows all rotational degrees of freedom.
  • Physics — Provides global physics settings, factory methods for physics objects and scene queries.
  • PhysicsScene — Physical representation of a scene, allowing creation of new physical objects in the scene and queries against those objects.
  • PhysicsMaterial Material that controls how two physical objects interact with each other.
  • PhysicsMesh — Represents a physics mesh that can be used with a MeshCollider.

Structs

Enums

Free functions

GetPhysics

Physics &GetPhysics()

Provides easier access to Physics.

Internal

Symbols intended for engine-internal use. Not part of the public API.

Classes