so im trying to make a 6dof simplistic so far in c++ to get the hang or the engien and meaning but what iv heard is that i should use FQuat and the unrealengine documentations really doesnt help me much…
void ATesting::MoveFB(float MoveFB)
{
if(MoveFB != 0.0f)
{
const FRotator Rotation = Controller->GetControlRotation();
const FRotator YawRotation(0, Rotation.Yaw, 0);
const FVector Direction = FRotationMatrix(YawRotation).GetUnitAxis(EAxis::X);
AddMovementInput(Direction, MoveFB*10);
}
}
“ik acceleration isnt really done here^ but i would also need to learn how to accelerate an object/transform? im guessing”
what i know is that i need to change the FRotation to FQuat but i have no idea how to use or change the Transformer direction to the camera of player ik basic controller. would like some help