SetActorLocation not updating position

I’m trying to position an object, When I call the below code the object’s position transform updated in the inspector and SetActorLocation returns, but the object is not moved visually … am I missing something?

   FVector Location = GetActorLocation();
   Location.Y + 10.0f;
    if (!SetActorLocation(Location, false)) {
        UE_LOG(LogTemp, Log, TEXT("WTF"));
    }

Maybe with Location.Y += 10.0f; it will work, for now your code does not modify Location.Y

That’s what i get staying up late :slight_smile: