PxInitVehicleExtension

Defined in include/vehicle2/PxVehicleAPI.h

inline bool PxInitVehicleExtension(physx::PxFoundation &foundation)

Initialize the PhysX Vehicle library.

This should be called before calling any functions or methods in extensions which may require allocation.

Note

This function does not need to be called before creating a PxDefaultAllocator object.

Parameters

foundation – a PxFoundation object