Download

Tank movement guide, how to implement PhysX movement?

Hello, I have to do realistic tank movement with wheel suspension animation.
The main problem is animation of wheels in tank.
Unfortunately I can’t find answer for my question on this forum and in answers.
I am new in c++ coding but I have some programming skills. I am c# programmer.
Also I would like to learn PhysX coding and learn Unreal cpp coding.
I need to understand how it’s implemented in current engine and how to make my own component.
Unlikely I don’t know how to start.

I am looking for few tips how to start with creating physx based tank movement.
I found information that I should create new class which inherits from WheeledVehicleMovementComponent.
Another option was editing original WheeledVehicleMovementComponent4W class and implementing multi wheeled vehicle there.

Please let me know how to start with making my TankMovementComponent which I can later use in BP.
Should I add actual class from PhysX SDK for tank vehicle?

Below is link to physx vehicle docs and unreal vehicle.
How to marry them? :slight_smile:

physx/Docs/Vehicles
Engine/Vehicles/UWheeledVehicleMovementComponent

Waiting for Yours help.