Tracked Vehicle Suspension

Over the past week, I’ve been working on a tank that utilizes Nvidia PhysX. I’ve got to the point where I’ve converted all of the UWheeledVehicleMovementComponent4W code to use Nvidia’s tank PhysX and implemented basic controls. The problem is the suspension doesn’t work. I believe I have it setup correctly. I created a duplicate of the Sedan Anim BP from the Vehicle Template and created a wheel BP. This has lead me to wander whether the built in vehicle suspension will even work with tracked vehicles or tank physx. If anyone can help me on this matter it will be greatly appreciated.

No thanks, I am Lei Feng.

PhysX has a sample of their tank in SDK, maybe check it out. Suspension is the part of the PhysX code, I don’t think UE4 adds anything to it.

I’ve been using nvidia’s tank snippet and it has been a great help. I solved my problem though. I realized the physics suspension was working. It was just the visual side of the suspension that wasn’t working. For my tank class, I inherited from Pawn and copied over the code from Wheeled Vehicle. However, the Wheel Handler anim node only works with Wheeled Vehicles, so I just inherited from Wheeled Vehicle and it started working.