Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Physics::Component::TorqueCurvePoint Struct Reference

Torque curve point for normalized engine torque. More...

#include <Vehicle.hpp>

Public Attributes

float rpm
 Normalized RPM (0.0 to 1.0).
float torque
 Normalized torque (0.0 to 1.0).

Detailed Description

Torque curve point for normalized engine torque.

Defines a point on the torque curve:

  • X-axis (rpm): Fraction of engine RPM (0 = minRPM, 1 = maxRPM)
  • Y-axis (torque): Ratio of max torque (0 = 0 Nm, 1 = maxTorque)

Member Data Documentation

◆ rpm

float Physics::Component::TorqueCurvePoint::rpm

Normalized RPM (0.0 to 1.0).

◆ torque

float Physics::Component::TorqueCurvePoint::torque

Normalized torque (0.0 to 1.0).


The documentation for this struct was generated from the following file: