Chaos vehicle is pushed by Main Character

Phi1_the_duck
Sun, 06 Jun 2021 21:53:17 +0000
World Creation

I’m making a game where you can run as third person character and drive a car. For setting up my truck I’ve decided to use Chaos Vehicle from UE 4.26. I’ve successfully rigged it and it drives well. But I found out a bug, when you run or jump as main character and you accidentally collide into truck, the truck bounces around, so you can push it as it was made out of paper and weighted nothing.

Gyazo

Gyazo

Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Gyazo

Gyazo

Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

I want my truck to behave more or less like the real truck. I’ve tried to disable Physics for truck while my character is not driving it. It worked, and I was no longer able to bounce it around, but when I tried to drive it, it drove just fine, but for some reason all 6 wheels stayed in without any movement, while the truck, without wheels, was driving around just like before. After I exit the truck, wheels teleport and attach back to the truck.

Gyazo

Gyazo

Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Gyazo

Gyazo

Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

I guess Chaos Vehicle component does not really like when I turn “Simulate physics” on and off during runtime. I’m pretty sure it has something to do with the process of creation of ChaosVehicle, but I have no idea how to fix that.

If you know how to turn Physics on/off for ChaosVehicle in runtime correctly, or you know other way to stop my car from being pushed by my main chacter, please let me know.

8 posts - 8 participants