Hi guys. I’m trying to get Wheel RPM into the blueprint. But I’m getting. “pointer to incomplete class type is not allowed” when I use the code below. Any suggestions?
- void UVehicleMovementBPFunctionLibrary::PhysXVehicleWheelRPM(UWheeledVehicleMovementComponent * Component, int32 w, float& RPM)
- {
- physx::PxVehicleWheels * PVehicleLocal = Component->PVehicle;
- RPM = OmegaToRPM(PVehicleLocal->mWheelsDynData.getWheelRotationSpeed(w));
- }