Please see Answerhub for details
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
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
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.9.1, 4.10 |
Created | Sep 21, 2015 |
---|---|
Resolved | Nov 20, 2015 |
Updated | Jul 14, 2021 |