|
static Vector3 | ForceSpring (Vector3 A, float length, float K, Vector3 B) |
| Spring force exerced by B to A. More...
|
|
static Vector3 | Kinematics (Vector3 Pos, ref Vector3 Speed, ref Vector3 Acc, Vector3 SFext, float dt, float mass=1) |
|
static Vector3 | KinematicsVerlet (Vector3 Pos, Vector3 PosMinus1, ref Vector3 Acc, Vector3 SFext, float dt, float olddt, float mass=1, float friction=0) |
|
static Vector3 | KinematicsVerlet (Vector3 Pos, Vector3 PosMinus1, Vector3 PosMinus2, ref Vector3 Acc, Vector3 SFext, float dt, float olddt, float mass=1, float friction=0) |
|
static Quaternion | KinematicsVerlet (Quaternion Pos, Quaternion PosMinus1, Quaternion SFext, float dt, float mass=1, float friction=0) |
|
static void | Constraint (ref Vector3 A, ref Vector3 B, float Length) |
|
static void wHiteRabbiT.Unity.Simulation.PhysIcs.Constraint |
( |
ref Vector3 |
A, |
|
|
ref Vector3 |
B, |
|
|
float |
Length |
|
) |
| |
|
static |
static Vector3 wHiteRabbiT.Unity.Simulation.PhysIcs.ForceSpring |
( |
Vector3 |
A, |
|
|
float |
length, |
|
|
float |
K, |
|
|
Vector3 |
B |
|
) |
| |
|
static |
Spring force exerced by B to A.
- Returns
- The spring.
- Parameters
-
A | A position |
length | Desired length |
K | Spring constant |
B | B position |
static Vector3 wHiteRabbiT.Unity.Simulation.PhysIcs.Kinematics |
( |
Vector3 |
Pos, |
|
|
ref Vector3 |
Speed, |
|
|
ref Vector3 |
Acc, |
|
|
Vector3 |
SFext, |
|
|
float |
dt, |
|
|
float |
mass = 1 |
|
) |
| |
|
static |
static Vector3 wHiteRabbiT.Unity.Simulation.PhysIcs.KinematicsVerlet |
( |
Vector3 |
Pos, |
|
|
Vector3 |
PosMinus1, |
|
|
ref Vector3 |
Acc, |
|
|
Vector3 |
SFext, |
|
|
float |
dt, |
|
|
float |
olddt, |
|
|
float |
mass = 1 , |
|
|
float |
friction = 0 |
|
) |
| |
|
static |
static Vector3 wHiteRabbiT.Unity.Simulation.PhysIcs.KinematicsVerlet |
( |
Vector3 |
Pos, |
|
|
Vector3 |
PosMinus1, |
|
|
Vector3 |
PosMinus2, |
|
|
ref Vector3 |
Acc, |
|
|
Vector3 |
SFext, |
|
|
float |
dt, |
|
|
float |
olddt, |
|
|
float |
mass = 1 , |
|
|
float |
friction = 0 |
|
) |
| |
|
static |
static Quaternion wHiteRabbiT.Unity.Simulation.PhysIcs.KinematicsVerlet |
( |
Quaternion |
Pos, |
|
|
Quaternion |
PosMinus1, |
|
|
Quaternion |
SFext, |
|
|
float |
dt, |
|
|
float |
mass = 1 , |
|
|
float |
friction = 0 |
|
) |
| |
|
static |
float wHiteRabbiT.Unity.Simulation.PhysIcs.SafeTimeScale |
|
staticgetset |
The documentation for this class was generated from the following file:
- D:/wHiteRabbiT/wHiteRabbiT-sTudio/trunk/Unity_4_5/Assets/WR_wHiteRabbiT-sTudio/WRFramework/Unity/PhysIcs/Physics.cs