Hi there,
I’ve got a bit of an issue. I’ve made a ActorComponent class, like so:
UCLASS(Config = BallisticMovement)
class GRASSLANDS_API UBallisticMovementComponent : public UProjectileMovementComponent
{
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, Config, Category = BallisticData)
float m_Diameter;
I’ve also created a config .ini in \Config, called DefaultBallisticBase, with this data:
[/Script/Grasslands.BallisticMovementComponent]
m_Diameter=0.762f
however, when I reload the project to load the config, only an empty BallisticMovement.ini is created in \Saved\Config\Windows, and the m_Diameter variable is not set to the default value from the config.
What else must I do to load the variable?