Hi there!
I am making a game prototype for an entry-level university class (relatively basic stuff) and I am also very new to unreal engine and c++. For this we have to create our own unique mechanic for our own take on a sports game (i.e. golf with friends or rocket league).
How would I be able to create a mechanic similar to the minecraft fishing rod? I am using the 3rd person starter template and I want the player to be able to:
-
Right Click to throw an actor (hook actor) (spawn as well as apply impulse)
-
Right clicking while the hook is active will pull the hooked object OR return to player (one instance of hook)
-
Detecting hooked object and apply impulse in the direction of the player.
So far I can create the actor, but I don’t know how to apply impulse to the actor when it spawns and I don’t know how to limit it to one active at a time.
Any help would be appreciated!
P.S. If there are any recommended learning sources that you guys could recommend to me which could help me learn more about Unreal and C++, please let me know! I am already doing the Gamedev.tv Udemy course.