Hi everybody,
I actually need some help for a project. I'm a noobie. I work on a wipeout/fzero-like game.
I read a lot of things on the forum but i havn't found an answer to my asking.
To make a point, i want to create a gravity system where my ship is attached to the different parts of the trail. For example, in a tube, my ship can move 360° in it. I know i have to use a raycast and stock the normal variable to use it. The problem is : i don't know how to use it.
At first, I read some things about using a get distance combine with a multiplier. I didn't understand how to applicate this new distance between my ship and my object.
In an other hand, i read that we can use the raycast to hit a normal and stock this vector. But i don't understand how to use it with the add force.
Someone can get me back on track please?