How to hover a Car?

Hello Community,

since two days, Im working on a hovering static mesh. Im relative new to the Engine so my knowledge is based on Tutorials.
To hover my SM I watched this two on YouTube …

... but it really do not work. Also after the changes in the comments, no succes.

And this it what I get in the MessageLog:
Error Blueprint Runtime Error: Accessed None trying to read property PrimitiveComponent from function: ‘ExecuteUbergraph_HOVERcomponent’ from node: Add Force in graph: EventGraph in object: HOVERcomponent with description: Accessed None trying to read property PrimitiveComponent

Can anybody please help me?

Best regards

Can you show screenshot of the graph?

Sure, thank you for your super fast comment!

This is the graph form the UE-Tutorial. (14:50)

Ok, so the problem is that your PrimitiveComponent isn’t being initialized correctly and is set to none, when you’re trying to add force to it. You seem to do it properly, tho you must connect the event initialize to the Set primitive component. You forgot that? :stuck_out_tongue:

Hopefully it works after you connect them, cheers! :slight_smile:

I think I’m not so good in that and my english is really not the best…
Is it that what you mean? Because now its like a trampoline and after I played with the Lerp A (500000 & 50000 & 5000 & 2000 & 1500 & 500 & 200) and TraceLenght (150 & 100 & 50 & 10) there is still no serious effect.

So you aren’t getting errors anymore?
For the trampoline problem, after the SetSimulatePhysics, SetLinearDamping and play with the value.

Hopefully this helps and if it does, I’m begging for some karma cause I want a badge ty… :wink:

THANK YOU! It works! Good job and cheers from Germany to you, Derzo!

first you have to plug your “set” to on begin play event for exemple, here on your graph, it s not getting initialized cause it 's not linked anywhere .

why does my mesh fly of into the distance and not hover in place ive followed all the tutorials on this and the example given here and it just keeps flying of everytime i press begin play