Hello fellow developers,
I would like to know what is the best and easy solution for a situation like this.
Concept: In my game, 3 types of fruit will be thrown by the character from point A to Point B. Each fruit will follow a curve way, problem is the fruit will have the physics as the character will throw the fruit from slingshot and once after thrown, fruit will follow a path. Currently, I have implemented the slingshot system and the fruits are thrown.
Between, the character will move up and down so the fruit throw position will also change.
It is a 2D Game
1.How to make the fruit seamlessly follow the specified curve, once thrown from the slingshot? as explained above, the player position will move up and down, so is it possible to update the fruit path with smooth looking force and physics?
Is it possible to use spline curve? If so how to maintain the gravity and force? It would be great if someone can show direction. Thanks in advance.