Skip to main content

physics tools

2D and 3D physics settings, queries and simulation

  • apply_physics_force — Apply forces, torque or explosions to rigidbodies.
  • diagnose_physics — Validate physics setup or inspect a pair of colliders and passive contacts.
  • manage_physics_joints — Add, configure or remove 2D/3D joints.
  • manage_physics_materials — Create, configure and assign physics materials.
  • manage_physics_settings — Inspect or change 2D/3D physics settings and layer collision rules.
  • manage_rigidbody — Inspect or configure a Rigidbody or Rigidbody2D.
  • query_physics — Run ray, shape and overlap queries in 2D or 3D. overlap/raycast_all use bounded native buffers: max_results is an integer 1-1000 (default 200). buffer_saturated means completeness is unknown, including exact capacity.
  • simulate_physics — Advance physics by a bounded number of explicit simulation steps.