Hey all ! I know there is already a lot of threads about this subject but no one really helps me to make a great and realistic HoverCraft script. Here are two example of what i'm trying to do: Does somebeody know where i can find a script which make a similar result ? Best regards. F.C
There's a few posted on forums so do a forum search you could even use wheel colliders if you wanted (they're essentially the same thing - raycast + suspension)
Thank you for the answer ! Sorry, I forgot to said that i already tried to made this kind of script myself, but adapted to my game, let me explain: I work on a 3D "runner" game, the vehicle go right ahead and is only able to translate left/right (without Y axis rotation). The vehicle accelerate automatically, so i use up/down keys to translate on Y axis (with addforce). Example: As you can see at the end, my vehicle collide with the terrain and addforce function push it up hardly, its not really smooth and realist... Do you have any idea how to get a proportional addfoce when i'm near of the ground or too high to avoid out of map issue ? Even with wheel collider it's not smooth... PS: i've added the C# script.
I made this: http://plbm.com/lowpoly_landspeeder/lowpoly_landspeeder.html I got the effect with a raycasting script that casts downward from the four corners of the object and tries to suspend it. I also put some slippery (physicMaterial) capsule colliders inside the body of the ship, so if the repellers bottom out it just slides along on the ground briefly. This was my original attempt on different terrain: http://plbm.com/landspeeder/landspeeder.html