My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package jiglib.cof
{
public class JConfig
{
public static var solverType:String = "ACCUMULATED"; //the type of collision solve, allowable value: FAST,NORMAL,ACCUMULATED
public static var rotationType:String = "DEGREES"; // can be either RADIANS or DEGREES;
public static var doShockStep:Boolean = false;//if do a shock step to help stacking.
public static var allowedPenetration:Number = 0.01; // How much penetration to allow
public static var collToll:Number = 0.05; // the tolerance for collision detection
public static var velThreshold:Number = 0.5;// indicates the line velocity threshold for freezing
public static var angVelThreshold:Number = 0.5;// indicates the angle velocity threshold for freezing
public static var posThreshold:Number = 0.2; // change for detecting position changes during deactivation
public static var orientThreshold:Number = 0.2; // change for detecting orientation changes during deactivation.
public static var deactivationTime:Number = 0.5; // how long it takes to go from active to frozen when stationary.
public static var numPenetrationRelaxationTimesteps:Number = 10; // number of timesteps to resolve penetration over
public static var numCollisionIterations:Number = 1; // number of collision iterations
public static var numContactIterations:Number = 2; // number of contact iteratrions
public static var numConstraintIterations:Number = 2; // number of Constraint iteratrions
}
}

Change log

r220 by muzerly on Oct 31, 2011   Diff
Created or replaced branch /trunk from
/trunk:218
Go to: 
Project members, sign in to write a code review

Older revisions

r218 by muzerly on Oct 31, 2011   Diff
test
r206 by muzerly on Jul 14, 2011   Diff
update fp10 version to latest code
r165 by muzerly on Aug 12, 2010   Diff
1.rewrite the boxbox collision (faster
for stacking)
2.add the shock step help to stacking
3.fix car steerRate problem
4.add numConstraintIterations
...
All revisions of this file

File info

Size: 1475 bytes, 20 lines

File properties

svn:executable
*
Powered by Google Project Hosting