Now I’m on a project that remaking the AngryBirds game with UE5
I’m working on Bird actor, which is inherited from PaperCharacter class
My target is when i press mouse button, the bird is follow my mouse cursor, and when i release the mouse, it impulse the bird.
I have done the first thing, but when i do the second, which release the mouse, it do not impulse the bird
I use AddImpulse function but it seem do not work, the bird fall down when i release the mouse button.
Please help me
Here is my Bird class’s component
This is my Bird.h
This is Bird.cpp