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.
I have test the ABirds::Release function, i testing it by replace the addimpulse, and using setActorLocation and it does work, but when i change to AddImpulse it doesn't. How?
Please help me
![](https://uploads.gamedev.net/forums/monthly_2023_08/2d4f1ac8f61d44c8bb97aa31d393f986.fe9884c016ad8415a6cb63a45e1b1a4d8583ef8c.png)
![](https://uploads.gamedev.net/forums/monthly_2023_08/7f05535d89df421b90ef2581cf7f8018.aa406f3b6529f41225020bdd9e3e8b369c76ba4b_2_1380x544.png)
![](https://uploads.gamedev.net/forums/monthly_2023_08/05c5a15505b34a2c8b7ca0570ea49304.564b08176d6cdee366e31a20bed3af7decfc8e68.png)
![](https://uploads.gamedev.net/forums/monthly_2023_08/4b40956bc9cf42d0879be88e7dba3ef1.cb6fc83d4da7659ebb45a8aeb17c0af3c8ef6b28.png)