Developer Notes

Please see Answerhub for details

Description

When using SetActorPosition() on a WheeledVehicle, it does not affect it in any way. This worked previously in 4.8.

This has also been tested in main CL# 2698791

This may be related with: https://jira.ol.epicgames.net/browse/UE-21415

Steps to Reproduce

1. Create a new C++ project based off the Vehicle template named VehicleTest (name matters as it changes the name of future filenames)
2. Open the project in Visual Studio and navigate to VehicleTestPawn.cpp
3. Inside the Tick function (line 179) add the following lines of code

FVector MyVector = FVector(0, 0, 0);
SetActorLocation(MyVector, false);

4. Compile the project
5. Open the project in the editor and press Play
Result: Notice that the vehicle is not moved to 0, 0, 0 on Tick
Expected: Vehicle is moved to 0, 0, 0 on Tick

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.9.14.10
CreatedSep 21, 2015
ResolvedNov 20, 2015
UpdatedJul 14, 2021