Cannot set vehicle location or rotate!

I started with the basic vehicle c++ sample provided. I tried to set the vehicle’s location or rotate it, but somehow, it just doesn’t work. The code:

For location change:


FVector loc(0,0,50);
	SetActorLocation(loc);

And for rotation:


bUseControllerRotationYaw = true;
	AddControllerYawInput(90);

The code IS executed, but nothing happens. Why?