FixedDirection? #69
Unanswered
colorindarkness
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Adding a new rotation mode is not trivial, but as an alternative you can simply change the void AAlsCharacterExample::InputMove(const FInputActionValue& ActionValue)
{
const auto Value{UAlsMath::ClampMagnitude012D(ActionValue.Get<FVector2D>())};
AddMovementInput(FVector{Value.Y, Value.X, 0.0f});
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wanting to implement a new RotationMode called FixedDirection, that will allow for Free Look (Character movement becomes independent of Camera rotation).
Where would be best to implement this in AlsCharacter.cpp?
Perhaps during AAlsCharacter::RefreshGroundedNotMovingAimingActorRotation?
Beta Was this translation helpful? Give feedback.
All reactions