C# 클래스 Box2D.Common.Settings

Global tuning constants based on MKS units and various integer maximums (vertices per shape, pairs, etc.).
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ANGULAR_SLEEP_TOLERANCE float
ANGULAR_SLOP float
MAX_ANGULAR_CORRECTION float
MAX_ROTATION float
MAX_TRANSLATION_SQUARED float
MaxRotationSquared float
PI float
POLYGON_RADIUS float
SINCOS_LUT_LENGTH int

공개 메소드들

메소드 설명
MixFriction ( float friction1, float friction2 ) : float

Friction mixing law. Feel free to customize this. TODO djm: add customization

MixRestitution ( float restitution1, float restitution2 ) : float

Restitution mixing law. Feel free to customize this. TODO djm: add customization

메소드 상세

MixFriction() 공개 정적인 메소드

Friction mixing law. Feel free to customize this. TODO djm: add customization
public static MixFriction ( float friction1, float friction2 ) : float
friction1 float
friction2 float
리턴 float

MixRestitution() 공개 정적인 메소드

Restitution mixing law. Feel free to customize this. TODO djm: add customization
public static MixRestitution ( float restitution1, float restitution2 ) : float
restitution1 float
restitution2 float
리턴 float

프로퍼티 상세

ANGULAR_SLEEP_TOLERANCE 공개적으로 정적으로 프로퍼티

A body cannot sleep if its angular velocity is above this tolerance.
public static float ANGULAR_SLEEP_TOLERANCE
리턴 float

ANGULAR_SLOP 공개적으로 정적으로 프로퍼티

A small angle used as a collision and constraint tolerance. Usually it is chosen to be numerically significant, but visually insignificant.
public static float ANGULAR_SLOP
리턴 float

MAX_ANGULAR_CORRECTION 공개적으로 정적으로 프로퍼티

The maximum angular position correction used when solving constraints. This helps to prevent overshoot.
public static float MAX_ANGULAR_CORRECTION
리턴 float

MAX_ROTATION 공개적으로 정적으로 프로퍼티

The maximum angular velocity of a body. This limit is very large and is used to prevent numerical problems. You shouldn't need to adjust this.
public static float MAX_ROTATION
리턴 float

MAX_TRANSLATION_SQUARED 공개적으로 정적으로 프로퍼티

public static float MAX_TRANSLATION_SQUARED
리턴 float

MaxRotationSquared 공개적으로 정적으로 프로퍼티

public static float MaxRotationSquared
리턴 float

PI 공개적으로 정적으로 프로퍼티

Pi
public static float PI
리턴 float

POLYGON_RADIUS 공개적으로 정적으로 프로퍼티

The radius of the polygon/edge shape skin. This should not be modified. Making this smaller means polygons will have and insufficient for continuous collision. Making it larger may create artifacts for vertex collision.
public static float POLYGON_RADIUS
리턴 float

SINCOS_LUT_LENGTH 공개적으로 정적으로 프로퍼티

public static int SINCOS_LUT_LENGTH
리턴 int