C# 클래스 BEPUphysics.Vehicle.WheelDrivingMotor

Handles a wheel's driving force for a vehicle.
상속: ISolverSettings
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultGripFrictionBlender WheelFrictionBlender

공개 메소드들

메소드 설명
BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, Wheel wheel ) : float

Function which takes the friction values from a wheel and a supporting material and computes the blended friction.

WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints

Constructs a new wheel motor.

비공개 메소드들

메소드 설명
ApplyImpulse ( ) : float
ExclusiveUpdate ( ) : void
PreStep ( float dt ) : void
WheelDrivingMotor ( ) : BEPUphysics.Constraints
WheelDrivingMotor ( Wheel wheel ) : BEPUphysics.Constraints

메소드 상세

BlendFriction() 공개 정적인 메소드

Function which takes the friction values from a wheel and a supporting material and computes the blended friction.
public static BlendFriction ( float wheelFriction, float materialFriction, bool usingKinematicFriction, Wheel wheel ) : float
wheelFriction float Friction coefficient associated with the wheel.
materialFriction float Friction coefficient associated with the support material.
usingKinematicFriction bool
wheel Wheel Wheel being blended.
리턴 float

WheelDrivingMotor() 공개 메소드

Constructs a new wheel motor.
public WheelDrivingMotor ( float gripFriction, float maximumForwardForce, float maximumBackwardForce ) : BEPUphysics.Constraints
gripFriction float Friction coefficient of the wheel. Blended with the ground's friction coefficient and normal force to determine a maximum force.
maximumForwardForce float Maximum force that the wheel motor can apply when driving forward (a target speed greater than zero).
maximumBackwardForce float Maximum force that the wheel motor can apply when driving backward (a target speed less than zero).
리턴 BEPUphysics.Constraints

프로퍼티 상세

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

Default blender used by WheelSlidingFriction constraints.
public static WheelFrictionBlender DefaultGripFrictionBlender
리턴 WheelFrictionBlender