FHitResult* OutSweepHitResult = nullptr

shiftone
Sun, 29 Nov 2015 23:16:54 +0000
Blueprint

UFUNCTION(BlueprintCallable, Category = “Utilities|Transformation”, meta = (DisplayName = “AddLocalRotationQuat”, AdvancedDisplay = “bSweep,SweepHitResult,bTeleport”))
void AddLocalRotationQuat(const FQuat& DeltaRotation, bool bSweep = false, FHitResult* OutSweepHitResult = nullptr, ETeleportType Teleport = ETeleportType::None);

im getting the following error 2> Inappropriate ‘*’ on variable of type ‘FHitResult’, cannot have an exposed pointer to this type.

I must be missing something because this seems to be used within the core engine also?

3 posts - 1 participant