Hello! I know can get the “Root Component” of any sensed pawn. But I would specifically want to get a component from the Pawn that is being sensed. is there a easy way to achieve this? Thank you!
You’re first going to want to cast the “Pawn” to the class of your pawn. Following that, there are a host of functions like GetComponentsByTag, GetComponentsByClass, etc. that will gather all the components into an array or find a specific one.
2 Likes
Thanks! this appears to work nicely! So simple, yet so many hours of head scratching!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.