Ok so i think I have made some progress but i still cannot access the variable through blueprint,
I have changed WheeledVehicleMovementComponent script,
In the .h version i have added.
/** Get The Long Slip */
UFUNCTION(BlueprintCallable, Category = "Game|Components|WheeledVehicleMovement")
float GetWheelLongSlip();
and i have also added the .cpp file to include
float UWheeledVehicleMovementComponent::GetWheelLongSlip() const
{
return WheelsStates[w].longitudinalSlip;
}
But i simply cannot see the function/variable in blueprint.
If any1 has any suggestions that wouuld be great