Issue: You have a drivable Chaos vehicle in your scene, but when the vehicle is not possessed by the character, the vehicle gets pushed away when the character capsule touches it. How can you prevent this from happening?
The issue is that even when the vehicle is not possessed, the vehicle’s physics still interacts with other pawns in the scene. There are multiple ways to avoid this, but the method I’ll show here is the one I find least cumbersome.
Open your vehicle BP pawn and find the ‘Constraints’ section under the ‘Physics’ category. Lock the rotation and location of the vehicle here in the default mode.
Now the vehicle won’t be pushed away by your character. When you possess the car, what you need to do is set the constraints to ‘none,’ so the car is drivable again:
Don’t forget to set the constraint mode back to ‘Default’ when you exit your vehicle.
Let me know if you encounter any issues. If you enjoy my written tutorials and would like to see more, please consider supporting me on Patreon.