Method Solve2d
Solve2d(float3, SurfaceConstraintInfo, SurfaceConstraintInfo, ref float3)
Solve 2D.
Declaration
public static void Solve2d(float3 up, SurfaceConstraintInfo constraint0, SurfaceConstraintInfo constraint1, ref float3 velocity)
Parameters
Type | Name | Description |
---|---|---|
float3 | up | The up vector. |
SurfaceConstraintInfo | constraint0 | The first constraint. |
SurfaceConstraintInfo | constraint1 | The second constraint. |
float3 | velocity | [in,out] The velocity. |