Alexa.Ki
(Alendromeda.ki)
1
Hello, I am trying to convert this simple Blueprint code in C++ but I don’t know how to do it?
BP Example
![image_2022-08-12_202636103](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/a/bda7f3e364a018b2cfd1cdd3f113b4cd18e4397a.png)
my unsuccessful try:
FVector MyLocation;
FRotator MyRotation;
FVector MyScale;
FTransform::SetLocation(MyLocation);
FTransform::SetRotation(MyRotation);
FTransform::SetScale3D(MyScale);
any help appretiated, thank you
c0r37py
(c0r37py::)
2
in your blueprint you are doing this
FTransform MakeTransform(Rotation, Location, Scale);
in your cpp you are doing different things
hope it helps
cheers
2 Likes
Alexa.Ki
(Alendromeda.ki)
3
thank you Sir, it helps and solved the issue
![:slight_smile: :slight_smile:](https://d1ap1mz92jnks1.cloudfront.net/images/emoji/twitter/slight_smile.png?v=12)