Scripts/Physics

Physics Scripts

 * CollisionIgnoreManager - There is currently no way to ignore collisions between groups of objects. When objects add themselves to this manager they provide two bitmasks, one specifying what groups they belong to and another specifying which other objects they would like to ignore collisions with.
 * TorqueLookRotation - Implements torque-based look rotation to a rigidbody.
 * TorqueStabilizer - Implements torque-based stabilization to a rigidbody.
 * ComplicatedRigidbodyControl - Attach a rigidbody to an arbitrary transform, or a method to make rigidbodies never overshoot.
 * DontGoThroughThings - Script that uses raycasting to avoid fast-moving objects going through obstructions.
 * DragObject - Similar to DragRigidbody (drag rigidbodies around with the mouse), but much more stable and with more direct control.
 * JiggleBone - Script to add secondary jiggle motion to bones (breast bounce dynamics, hair, etc)
 * Drag&Throw - A modified version of the Drag Rigidbody script that allows you to throw objects on a mouse click.
 * MovingPlatform - Script to make a moving platform/elevator. You can also set routes.

Simulation Scripts

 * Compass - The compass script allows you to get 0-360 degree heading with respect to an arbitrary North reference object named "GPS Reference" of which the Z axis is pointed North.
 * DayNightController - Implements a Day/Night cycle relative to the game world, with a World-Time clock, and optional Direcitonal Light control.
 * GameTime - This script rotates a directional light to match the rotation of the sun based on the system time.
 * GPS Global Positioning System - This script simulates a GPS device providing real world GPS locations based on a reference point
 * Gravity - Simulates body-to-body gravity (i.e. planetary gravity)
 * IMU Inertial Measurement Unit - This script simulates an IMU providing velocities and accelerations of the object it is attached to in the objects local frame.
 * OpenStreetMap for unity iPhone - A simple OpenStreetMap script for unity iPhone
 * SICK Laser Scanner - This script simulates the SICK LMS type planar laser scanner
 * Simple planetary orbits - Visually define the orbital path of one object around another fixed object, like a planet around the sun
 * sunLight - A script that rotates a directional light based on longitude/latitude.
 * Trajectory Simulation - Demonstrates simulating the trajectory of a launched object
 * WheelColliderSource - Source code based off the Unity3D WheelCollider and associated classes.
 * VWheelCollider - Basic replacement for the built-in WheelCollider.
 * Ocean - A script for simulating an endless scrolling ocean.

Math/Geometry Utilities

 * Distance from a point to a rectangle
 * Mesh simplification (for MeshCollider, lossless)

2D Physics

 * PointForceComponent - A script that will simulate gravity around an object. Only works with 2D physics system.
 * WindComponent - A simple script for simulating constant force (wind) in the 2D physics system.
 * MoveSpriteFacingMovementDirection - A script to move sprite facing the direction of movement with 2D physics system.