Unreal Crashing For Reason with AddForceAtLocation()

Unreal Version v4.22.3
It is just Crashing for the line:
GetTankRoot()->AddForceAtLocation(Forceapplied,ForceLocation);
#battletank

That would suggest that your root component isn’t a UPrimitiveComponent

And how to make it a UPriminitiveComponent

What is the root component?

You Can Have A look for what is the RootCompnent.

Your root component is a scene component. Click and drag Tank_01 onto DefaultSceneRoot and replace as root component.

Thanks for Your cooperation . It also solved my another problems.Thank A LOT!!!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms