I have 2 questions that are somewhat related, at least for my purposes. The first one is easier. If you know one, but not the other, feel free to answer! Everything helps. Thanks!
1. In a script attached to a gun, how do you tell both if an actor is holding the gun, and if so, which actor is holding the gun?
2. In a script attached to a gun, how do I cast an ObstacleRay based on the current direction of the gun which skips 5 pixels and sets the Vector self.pointpos to the result of the ray? And how can I set how far it's allowed to search? I don't want TOO much lag. And how can I tell if it actually found a point or not?