Skip to content

Commit

Permalink
GetBounds is now BP accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
danielndiaye committed Nov 7, 2022
1 parent f1ee8b1 commit c49479c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/OpenDRIVE/Public/OpenDriveVehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class OPENDRIVE_API UOpenDriveVehicle : public UOpenDriveComponent
mutable double _PrevTime = 0.;
mutable double _Acc = 0.;
int PrevRoadId = -1;
FBoxSphereBounds GetBounds() const;

protected:
float _SpeedOverride = 0.f;
Expand All @@ -44,6 +43,9 @@ class OPENDRIVE_API UOpenDriveVehicle : public UOpenDriveComponent
double OdrSteerAngleMax() const;
double OdrWheelbase() const;

UFUNCTION(BlueprintCallable, Category = "OpenDRIVE Vehicle|Indicators")
FBoxSphereBounds GetBounds() const;

UPROPERTY(BlueprintAssignable);
FOnNewRoad OnNewRoad;

Expand Down

0 comments on commit c49479c

Please sign in to comment.