WingPhysicsData
Inherits from DataContainer
Summary
Constructors
WingPhysicsData() |
WingPhysicsData(guid: Guid) |
WingPhysicsData(other: DataContainer) |
Properties
Name | Type |
---|---|
lift | float |
flapLift | float |
liftCoefficient | Curve2D | nil |
drag | float |
flapDrag | float |
dragCoefficient | Curve2D | nil |
angularVelocityLiftModifier | float |
dragRotationModifier | float |
baseAngleOfAttack | float |
inputForFlap | int |
flapTurnSpeed | float |
visualFlapTurnSpeed | float |
visualFlapAngleLimit | float |
maxFlapAngleScaleFactor | Curve2D | nil |
landingFlapLift | float |
landingFlapLogic | LandingFlapData | nil |
Static members
Name | Type |
---|---|
WingPhysicsData.typeInfo | TypeInformation |
Constructors
WingPhysicsData
WingPhysicsData()
Creates a new WingPhysicsData frostbite instance.
WingPhysicsData
WingPhysicsData(guid: Guid)
Creates a new WingPhysicsData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
WingPhysicsData
WingPhysicsData(other: DataContainer)
Casts an instance of type DataContainer to WingPhysicsData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to WingPhysicsData. |
Properties
lift
float
flapLift
float
liftCoefficient
Curve2D | nil
drag
float
flapDrag
float
dragCoefficient
Curve2D | nil
angularVelocityLiftModifier
float
dragRotationModifier
float
baseAngleOfAttack
float
inputForFlap
int
flapTurnSpeed
float
visualFlapTurnSpeed
float
visualFlapAngleLimit
float
maxFlapAngleScaleFactor
Curve2D | nil
landingFlapLift
float
landingFlapLogic
LandingFlapData | nil
Static members
typeInfo
The type information for the WingPhysicsData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)