Hi,
I like to think how actual games works and then i’m trying to reproduce the True Skate (https://play.google.com/store/apps/details?id=com.trueaxis.trueskate) logic to kick the skate and do the tricks.
My first idea to keep the physics real was to raycast a point in the skate, instantiate a ball with rigidbody in that point and add force to the transform.up * -1 of the ground.
In the first idea the problem is that to perform a trick in skate and make the skate jump, you have to add some force forward and release the backwards force, like this:
So then, i add a Destroy() function to simulate the “release” and the second click will be a down + forward force, but the skate still doesn’t act like the gif and this “solution” will only give me touches, and not swipe with angles and forces. (Plus i add some physic materials to ground and skate to test if the bounciness can help).
Then after some research i found this question and tried to add the resultant force to the instantiated ball, with a slightly better result, but not what i wanted or even an acceptable result, if someone have a idea to implement this or experience with this “type” of physics it would be awesome.
Thanks in advance.