Skip to content

Commit

Permalink
AdjustNewRelativeTransform에 대해
Browse files Browse the repository at this point in the history
  • Loading branch information
kbmhansungb committed Jul 27, 2022
1 parent 6596bc9 commit 5192de1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ void UHorrorAxisRotationComponent::SetFirstIntersectionPoint(const FHitResult& H
SphereRadius = (HitLocation.Location - GetComponentLocation()).Size();
}

FTransform UHorrorAxisRotationComponent::AdjustNewRelativeTransform(const FTransform& Transform) const
{
return Transform;
}

Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class HORRORCORE_API UHorrorAxisRotationComponent : public USceneComponent,

virtual FTransform GetNewVirtualTransform(const FVector& IntersectionLocation) const override { return FTransform(); }
virtual FTransform ClampNewRelativeTransform(const FTransform& Transform) const override { return FTransform(); }
virtual FTransform AdjustNewRelativeTransform(const FTransform& Transform) const override { return FTransform(); }
virtual FTransform AdjustNewRelativeTransform(const FTransform& Transform) const override;

private:
float SphereRadius;
Expand Down Expand Up @@ -106,12 +106,6 @@ class HORRORCORE_API UHorrorAxisRotationComponent : public USceneComponent,

// //return Transform;
//}
//virtual FTransform AdjustTransform(const FTransform& Transform) const override
//{
// return Transform;
//}



private:
FKey Key;
Expand Down

0 comments on commit 5192de1

Please sign in to comment.