I recreated Line Rider in 3D and the result feels cursed
4.4 میلیون بار بازدید -
3 سال پیش
-
The Mountain King track is
The Mountain King track is back! This is my first time doing procedurally generated mesh terrain in Unity. It was a lot of fun to create, although the result feels a bit unsettling. My character modelling skills could use some work lol. Glad I did it though, because I can apply this technique to other concepts now.
Rough explanation of how I did it:
1. I modded a Line Rider Advanced build to output the position data of all the rigging points on the character and sled to a json file.
2. My script reads the line rider track file and converts it into 3D rect geometry.
3. By reading through the motion data of the character, I basically calculate the derivative at each point, allowing me to calculate normal and tangent vectors to the character's movement. These vectors determine the terrain mesh positions.
4. This part I'm really proud of. I created my own keyframing system for camera movement, allowing me to orbit the camera around the character and smoothly interpolate between different positions in time while tracking the character. There is also a keyframing system for terrain parameters.
5. Random raycasts from the sky little the ground with trees and rocks for extra decoration.
If you would like to support the channel here is the link to my Patreon page: Patreon: doodlechaos
Come hang on discord: Discord: discord
Twitter: doodlechaos
[email protected]
Music: Youtube Audio Library
In The Hall Of The Mountain King (by Grieg)
"Rocks Low Poly Starter Pack" (https://skfb.ly/6TuOH) by Dreyx is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/b....
Credit for Low Poly Winter Sled:
https://sketchfab.com/3d-models/low-p...
Fir Tree Model Credit:
https://www.cgtrader.com/free-3d-mode...
Created in Unity 2020.3.13f1
Rough explanation of how I did it:
1. I modded a Line Rider Advanced build to output the position data of all the rigging points on the character and sled to a json file.
2. My script reads the line rider track file and converts it into 3D rect geometry.
3. By reading through the motion data of the character, I basically calculate the derivative at each point, allowing me to calculate normal and tangent vectors to the character's movement. These vectors determine the terrain mesh positions.
4. This part I'm really proud of. I created my own keyframing system for camera movement, allowing me to orbit the camera around the character and smoothly interpolate between different positions in time while tracking the character. There is also a keyframing system for terrain parameters.
5. Random raycasts from the sky little the ground with trees and rocks for extra decoration.
If you would like to support the channel here is the link to my Patreon page: Patreon: doodlechaos
Come hang on discord: Discord: discord
Twitter: doodlechaos
[email protected]
Music: Youtube Audio Library
In The Hall Of The Mountain King (by Grieg)
"Rocks Low Poly Starter Pack" (https://skfb.ly/6TuOH) by Dreyx is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/b....
Credit for Low Poly Winter Sled:
https://sketchfab.com/3d-models/low-p...
Fir Tree Model Credit:
https://www.cgtrader.com/free-3d-mode...
Created in Unity 2020.3.13f1
3 سال پیش
در تاریخ 1400/07/21 منتشر شده
است.
4,498,539
بـار بازدید شده