Scripts/Physics

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{| align="right" | __TOC__ |} = Physics / Simulation = == Physics Scripts == *CollisionIgnoreManager - Script to manage ignoring collisions between groups of collider...")
 
m
Line 1: Line 1:
 +
 +
{| style="width:100%; margin:auto; background:transparent;" cellspacing="0" cellpadding="0" valign="top" border="0" |
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{1|[[Scripts/General| General]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Controllers| Controllers]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/GUI|GUI]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Effects| Effects]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Physics| Physics / Simulation]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Networking| Networking]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0.3em; font-size:90%; background-color:#CEE0F2; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Sound| Sound]]}}}
 +
 +
| style="border-bottom:2px solid #A3B1BF" width="1%" |  
 +
 +
| style="padding:0 .3em; background-color:#CEE0F2; font-size:90%; border:solid 2px #A3B1BF; text-align:center" width="8%" | {{{2|[[Scripts/Development| Development]]}}}
 +
|-
 +
{|cellspacing="10px" valign="top" style="background:white; border-left:2px solid #A3B1BF; border-right:2px solid #A3B1BF"
 +
|-
 +
| valign="top"|
 +
 
{| align="right"
 
{| align="right"
 
   | __TOC__
 
   | __TOC__
 
   |}
 
   |}
  
 
= Physics / Simulation =
 
  
 
== Physics Scripts ==
 
== Physics Scripts ==
Line 28: Line 62:
 
*[[Trajectory Simulation]] - Demonstrates simulating the trajectory of a launched object
 
*[[Trajectory Simulation]] - Demonstrates simulating the trajectory of a launched object
 
*[[WheelColliderSource]] - Source code based off the Unity3D WheelCollider and associated classes.
 
*[[WheelColliderSource]] - Source code based off the Unity3D WheelCollider and associated classes.
 +
 +
 +
|}
 +
<div style="border:2px solid #A3B1BF;padding:.5em 1em 1em 1em; border-top:none; border-bottom:2px solid #A3B1BF;  border-right:2px solid #A3B1BF; background-color:#ffffff; color:#000;">
 +
 +
</div>

Revision as of 20:09, 10 October 2011

General   Controllers   GUI   Effects   Physics / Simulation   Networking   Sound   Development

Contents


Physics Scripts

  • CollisionIgnoreManager - Script to manage ignoring collisions between groups of colliders.
  • 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)

Simulation Scripts

  • Compass - This script simulates a compass with North relative to the Z axis of a reference object
  • 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.


Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox