0% found this document useful (0 votes)
5 views

0 Overview

FGear is a custom vehicle physics solution for Unreal Engine 4 designed for arcade and semi-arcade racing games, focusing primarily on four-wheel cars but supporting multi-axle setups. Key features include adjustable tire models, configurable transmissions, driving aids, and a detailed telemetry UI, along with various components for vehicle dynamics and input management. Additional optional features are available for prototyping and learning, with resources for quick starts and detailed documentation provided.

Uploaded by

playertk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

0 Overview

FGear is a custom vehicle physics solution for Unreal Engine 4 designed for arcade and semi-arcade racing games, focusing primarily on four-wheel cars but supporting multi-axle setups. Key features include adjustable tire models, configurable transmissions, driving aids, and a detailed telemetry UI, along with various components for vehicle dynamics and input management. Additional optional features are available for prototyping and learning, with resources for quick starts and detailed documentation provided.

Uploaded by

playertk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

FGear Overview

FGear is a custom vehicle physics solution for unreal engine 4 that helps you build arcade/semi-
arcade style racing games. The package consists of a core module and some extra features that were
used for making the demo scenes. The package is mostly focused on 4 wheel cars but multi axle
setups are also possible.

Core features:

 Desktop or mobile.
 Adjustable integration steps.
 Simplified pacejka, pacejka96 and MF6.1 tire model options.
 3D wheel support(multiple raycasts or sphere/convex cast).
 Simple engine model with a torque curve.
 Configurable auto/sequential/manual(h-pattern) transmissions.
 Open, locked or lsd differential options.
 Ackerman steering, toe and camber.
 Adjustable torque and brake distribution of axles.
 Simple spring/damper suspensions with preload option.
 Multi axle setup support.
 AeroDynamics component for drag and downforce effects.
 Standard input manager with keyboard,joystick and wheel+shifter support.
 Driving aids like abs, asr, esp and anti roll bars.
 Detailed telemetry ui.
 Various sample setups and demos.
The below diagram shows how the core module is organized:

• AFGearVehicle : This class is the host to all components of a vehicle and the only class that
you need to inherit from for a driveable vehicle. Apart from managing components, this also
contains implementations of most of the driving assists.

• UFGearEngine : Uses a torque curve and rpm values to generate power to the vehicle.

• UFGearTransmission : This is a transmission that can be manually controlled or uses


configurable values to automatically change gears for you. H-pattern or sequential shifting is
possible and there is also a simple clutch implementation which is automatically managed in
sequential mode.

• UFGearAeroDynamics : This component has two jobs. First a drag force is generated as the
vehicle goes faster and secondly a down force is applied. These are calculated according to
the parameters and a constant air density value.

• UFGearStandardInput : The first duty of this component is to read unreals input axis values
and apply them to the vehicle like throttle or brakes. Keyboard, joystick or wheel+shifter
inputs can be used(wheel hardware requires the raw input plugin of unreal). Optionally this
modifies the steering inputs according to some parameters to provide a better control.

• UFGearAxle : The main function of an axle is the power transfer. Engine torque is tranferred
to the axle and the axle transfers torque to the wheels via a differential. A vehicle has 2 or
more axles and an axle has 2 wheels attached.

• UFGearWheel : The wheel component both generates the tire forces and the suspension
force. One or more raycasts are used to determine the suspension compression and the
required force is calculated to keep the vehicle away from ground. To generate lateral and
longitudinal forces, a tire model is used. The generated forces are applied to the vehicle body
and also the reaction torques are fed back to the engine.
• UFGearTire : Wheels use tire model(s) to calculate traction forces. The default tire model is
pacejka96. Simplified pacejka is also decent and computationaly cheaper. MF6.1 tire model is
the most advanced one. Some features like camber effect is not available with the simple
model. Which one to use depends on your requirements. You can read more about tire
models in CoreModule documentation.

• UFGearReplication : Aims to provide smooth network replication. It has three main tasks,
input and state synchronization and client prediction.

• Extra Features(Optional) : There are some additional content that are used for the sample
scenes. You can use them for prototyping and learning purposes but they are not
recommended for production use. Here are the extras:

 UFGearOrbitCamera : A simple configurable camera component that orbits around the


vehicle.
 UFGearEffects: First of all this component adds engine and skidding sound effects along
with a AFGearSkidMark mesh effect and smoke particles. Additionally this contains a
sample system that detects each wheels hit-surface physical material(you need to use
FGearPhysicalMaterial) and alters friction values according to provided parameters.
 UFGearArcadeAssists : This component contains a couple of fake but effective driving
assists. These can be useful for arcade style games.
 UFGearCustomCollider : This enables you to separate collision from inertial properties of
the vehicles physics body.
 UFGearSuspensionConstraint : Adds a physics constraint to each wheel that stops
suspension compression at its limit.
 AFGearRewindReplay : A simple actor that can be placed in a map to track vehicles
history and rewind or replay when needed.

For a quick start go to 1-Quickstart or check our youtube channel


https://www.youtube.com/playlist?list=PL0io2GoXo8vx_3Ep4dNMLcvD0OyWwUGMm

For a detailed explanation of core module go to 2-CoreModule.

For a detailed explanation of extras go to 3-Extras.

Get api document* from https://www.dropbox.com/s/dfo9jrjk0uvpcwp/fgear.chm?dl=0

For any kind of support contacts us at [email protected]

*if api documents content is not visible, right click the .chm file and unblock the file from properties:

You might also like