Hey.
Im looking around in the code tryin to make some sort of documentation for it a i found this
void UTankMovementComponent::RequestDirectMove(const FVector& MoveVelocity,
bool bForceMaxSpeed){
auto TankForward = GetOwner()->GetActorForwardVector().GetSafeNormal();
auto AIForwardIntention = MoveVelocity.GetSafeNormal();
auto ForwardThrow = FVector::DotProduct(TankForward, AIForwardIntention);
auto RotateThrow = FVector::CrossProduct(TankForward, AIForwardIntention).Z;
IntendMoveForward(ForwardThrow);
IntendTurnRight(RotateThrow);
}
What do use the bForceMaxSpeed for? What is that? Could someone explain pls? Also why the MoveVelocity is named that way? Its as far as i understand its the intended move direction not the speed of it