BEPUphysics.Vehicle.CylinderCastWheelShape.CylinderCastWheelShape C# (CSharp) Метод

CylinderCastWheelShape() публичный Метод

Creates a new cylinder cast based wheel shape.
public CylinderCastWheelShape ( float radius, float width, Microsoft.Xna.Framework.Quaternion localWheelOrientation, Matrix localGraphicTransform, bool includeSteeringTransformInCast ) : BEPUphysics.BroadPhaseEntries
radius float Radius of the wheel.
width float Width of the wheel.
localWheelOrientation Microsoft.Xna.Framework.Quaternion Unsteered orientation of the wheel in the vehicle's local space.
localGraphicTransform Matrix Local graphic transform of the wheel shape. /// This transform is applied first when creating the shape's worldTransform.
includeSteeringTransformInCast bool Whether or not to include the steering transform in the wheel shape cast. If false, the casted wheel shape will always point straight forward. /// If true, it will rotate with steering. Sometimes, setting this to false is helpful when the cast shape would otherwise become exposed when steering.
Результат BEPUphysics.BroadPhaseEntries
        public CylinderCastWheelShape(float radius, float width, Quaternion localWheelOrientation, Matrix localGraphicTransform, bool includeSteeringTransformInCast)
        {
            shape = new CylinderShape(width, radius);
            this.LocalWheelOrientation = localWheelOrientation;
            LocalGraphicTransform = localGraphicTransform;
            this.IncludeSteeringTransformInCast = includeSteeringTransformInCast;
        }