# How to rotate vehicle in ue4 from the advanceV

**URL:** <https://forums.unrealengine.com/t/how-to-rotate-vehicle-in-ue4-from-the-advancev/331329>\
**Category:** World Creation\
**Tags:** rotating, unreal-engine, Physics, Vehicles, question, CPP\
**Created:** [September 7, 2015, 12:26pm UTC](https://forums.unrealengine.com/t/how-to-rotate-vehicle-in-ue4-from-the-advancev/331329 "2015-09-07T12:26:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6f01f802](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6f01f802](https://forums.unrealengine.com/u/anonymous_user_6f01f802)\
**Post date:** [September 7, 2015, 12:26pm UTC](https://forums.unrealengine.com/t/how-to-rotate-vehicle-in-ue4-from-the-advancev/331329/1 "2015-09-07T12:26:14Z")

</div>

Hello, i have tried everything to rotate my vehicle in the advance Vehicle template.

```
	FRotator ActorRotation = GetActorRotation();
	ActorRotation.Pitch += Val * 50;
	SetActorRotation(ActorRotation);
	FString VeryCleanString = FString::SanitizeFloat(ActorRotation.Pitch);
	GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Green, VeryCleanString);

```

also tryed using GetController()-\>SetControlRotation(FRotator(100,100,100));

Also the string print with correct value. But the vehicle is at the same rotation as before.

Thanks
