What would be the object type to Cast to a Wheel Blueprint from the AdvancedWheeledVehicle Blueprint?
Hello! So I have been trying to use the new Is in Air method for the vehicle wheel added in 4.16 but I can't figure out what the object input would be.
This is my vehicle blueprint The sequence is for later bits of the project
This is my wheel blueprint
I've tried a lot of different things with no luck but it feels like I'm missing something super simple here. Any suggestions would be greatly appreciated.
I currently dont have a Vehicle Project but you should be able to "Get Wheels" this will return you a array of Wheels and you can loop over them. Just be aware you probably have more than one front wheel so a single bool won´t cut it for you ;P since one can be in air and the other on ground but who of them will set the bool last?
You most likely want to have a Counter there instead. InAirFront -> Branch (true)-> FrontWheelsInAir +1. And dont forget to reset the Counter before you start looping or it will increase to infinity with every Update Call you make.
answered May 29 '17 at 02:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here