【发布时间】:2021-12-03 18:54:24
【问题描述】:
如何将MainComponent->GetComponentRotation() 转换为FVector?
我必须为子组件使用AddForce() 吗?
我需要得到它的旋转向量。如何正确获取?
【问题讨论】:
-
应该可以使用
MainComponent->GetComponentRotation().Vector()或者只是MainComponent->GetComponentForwardVector()。 -
请提供足够的代码,以便其他人更好地理解或重现问题。
标签: c++ unreal-engine5