How to use PxVehicleDriveTank.h from PhysX for Tank Vehicle?

Hello Community,

i need some big HELP on my Project.
I want to create a Tank by using the sample from NVidias PhysX.
This is what i have so far:
I added APEX & PhysX in Project.Build.cs
Then i created a C++ class derived from WheeledVehicleMovementComponent4W.
And added this in the .cpp class.

#if WITH_VEHICLE
#include “PhysXIncludes.h”
#include “PxVehicwleDriveTank.h”
#endif // WITH_VEHICLE

Then i created another C++ class derived from WheeledVehicle and included my Custom MovementComponent(which should include the PxVehicleDriveTank).
By right clicking on thia C++ class i created a bluperint based on this class and is nothing has changed… I mean i cant seem to find functions for Right/Left Thrust and so on…

Who knows how to do this or could help me ?
Thanks and sorry for bad english :frowning:

I’m very interested in the sample from NVidias PhysX you said. Where can i find it?
And sorry for I can’t answer your question…

You can find it directly on the NVidias Developer site, just head for PhysX SDK. The Unreal Engine already include it you cab find it in the Install Directory of your Engine. I already got it working a little bit but its very messy (for me), may because my coding skills arent the best :slight_smile:

Thanks a lot!

bump Anybody have some snippets to share? :slight_smile: