Hey guys, in the Using Physics Handle video (for Building Escape) they have the line as follows:
auto ComponentToGrab = HitResult.GetComponent()
However, I don’t have an option for GetComponent() I have other options such as GetComponents() plural or GetComponentByClass, GetComponentsByClass, GetComponentsBoundingBox, etc.,
Also, I’m unable to use the .(dot) operator, instead the IDE is auto changing the .(dot) operator to the ->(pointer) operator.
And finally, just in case you are wondering, I am explicitly including the “Runtime/Engine/Classes/PhysicsEngine/PhysicsHandleComponent.h” header at the top of the .cpp file so I am “Including What I Use”.
Any pointers (no pun intended) for me? Thanks!