Hello,
I am relatively new to Unity and Playmaker, therefor my problem may seem simple to you but after having solved several issues on my own I cant seem to find a solution to this:
I have a 2D square object(rigidbody2D/box-collider),which is my player. It can move and jump etc. I also have small square 2D-objects which my player can touch so that they will start to float at a position around him and eventually form a shield if i have collected 12 of them. They have a fixed position in relation to the player and follow him at this position. I also can rotate the shield by pressing a button.So far so good, the script works fine. But I want to also be able to shoot one of the 'shield-squares'. So one of them will be picked by random to be shootable and can be shot by pressing another button. I have this script ready so far but my problem is now: I can only apply AddForce or SetVelocity on the X or Y axis so that the square will only move towards those. I want to be able to shoot them on a path in relation to the player position. I attached an image for better understanding. The Image shows one possibility but theoretically I want to be able to shoot in any direction.
I'd be really thankful for any kind of help