unity-physicscore2d-forces

Apply impulses, forces, torque, wind, and explosions to Unity 2D physics bodies.

730|105|Updated Mar 4, 2017
One-click install
npx skills add https://github.com/Unity-Technologies/PhysicsExamples2D --skill unity-physicscore2d-forces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-physicscore2d-forces
Source: https://github.com/Unity-Technologies/PhysicsExamples2D/tree/main/.claude/skills/unity-physicscore2d-forces
Command: npx skills add https://github.com/Unity-Technologies/PhysicsExamples2D --skill unity-physicscore2d-forces

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating 2D physics forces in Unity can be verbose and error-prone when teaching or prototyping interactions that rely on impulses, continuous forces, torques, and environmental effects.

Core Features & Use Cases

  • Impulses: Instant velocity changes for jumps and collisions.
  • Forces & Torque: Continuous acceleration and rotational control at center or offset points.
  • Environmental Forces: Wind, buoyancy, and gravity-field effects to simulate varied environments.
  • Explosion & Force Zones: Radial impulses and trigger zones for area-based effects.
  • Worked Examples: Scenes demonstrating Wind, Explosion, and basic force interactions.

Quick Start

Attach the Unity PhysicsCore2D Forces Expert to a dynamic body and run a scene to observe impulses, continuous forces, torque, wind, and explosions in action.

Frequently Asked Questions about unity-physicscore2d-forces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply 2D physics forces like impulses and torque in Unity?

You apply 2D physics forces in Unity using PhysicsCore2D to manage impulses, continuous forces, and torque at center or offset points for dynamic bodies. This handles instant velocity changes and rotational control.

What is the best way to simulate wind fields and environmental gravity in Unity 2D?

Simulating wind fields and environmental gravity in Unity 2D involves applying continuous force zones to rigidbodies. PhysicsCore2D enables these environmental force effects to create varied physical interactions and buoyant bodies.

How do I create a 2D explosion effect with radial impulses in Unity?

To create a 2D explosion effect in Unity, apply radial impulses outward from a blast origin point. PhysicsCore2D handles these explosion force zones to push dynamic objects away with instant velocity changes.

Can I use PhysicsCore2D forces for platformer jumps and conveyor belts?

Yes, you can use PhysicsCore2D forces for platformer jumps and conveyor belts. It supports instant impulses for character jumps and continuous directional forces for moving platform interactions.

How do I start using Unity PhysicsCore2D forces in my scene?

To start using Unity PhysicsCore2D forces, attach the Forces Expert component to a dynamic body and run the scene. Worked examples demonstrate wind, explosions, and basic force interactions in action.