Wheeled Vehicle won't roll freely at start
Hi all. I am trying to implement a passive cart/trailer using the PhysX WheeledVehicleMovementComponent. I've followed the Simple Wheeled Vehicle Movement Component guide, and I'm pretty sure I have things rigged up correctly.
Essentially, the behavior I'm looking for is when I place a Wheeled Vehicle on a ramp, I want it to roll down the ramp. However, no matter what Wheeled Vehicle Movement Component settings I change, when I push Play the vehicle just sits there. If I raise the Pawn starting position slightly above the ramp so it falls a little bit when it spawns, it will sometimes roll down the ramp.
To reproduce, you can take the "Vehicle" Blueprint project and add a plane to the scene to make a ramp. Move the sedan pawn on the plane, and press Play. The vehicle won't move (other than suspension settling) until you give throttle input for a second or two.
Do I need to set a flag or call some function at BeginPlay? I'm attempted "Activate" on the MovementComponent. Not sure what else to try.
(I could go back to using standard Physics Asset collisions, but I was hoping to use the tire models and suspension.)
asked Oct 05 '18 at 02:52 AM in Using UE4
Dean R. Anderson
Follow this question
Once you sign in you will be able to subscribe for any updates here