Grindable Rails In Unity Using The Spline Tool - Tutorial

preview_player
Показать описание
A tutorial explaining how I do grindable rails in Unity.
---
Рекомендации по теме
Комментарии
Автор

I wish this video had showed up when I was trying to figure this out months ago, really super tutorial!

moumaxim
Автор

I've been looking for a tutorial like this for months, thank you very much!

llibertii
Автор

this is exactly what i needed. thank you lots!

stevethepirate
Автор

Camera may be jittery in your part but if you add sparks behind the player it kinda looks good with the jitters

saltyyy
Автор

Thx a lot been trying for a while now, this is a good solution 🎉

zmaxer
Автор

alot of unnecessary lines in the code since there is no null or 0 checks required before returning them and u could simplify the normalDir bool to be something like

public bool CalculateDirection(float3 railForward, vector3 playerForward)
{
float angle = vector3.angle(railForward, playerforward.normalized);
return angle > 90f ? true : false;
}

other than that.. seems pretty good starting ground for a skateboard game or something

SLIXUS
Автор

Definitely gonna take a look at this for my next project. Its arcady but it works for a idea i have.

Thanks though ive been looking for some kind of tutorial on this.

echoproject
Автор

wish you had continued with the jump switching rail tutorial

xaviertzodiacc
Автор

Thanks! Would donate but no donate button. Also, i originally had a physics checksphere for detecting rails, im not using chracter controller, any idea how to get specific rail info from that or am i forced to use ontriggerenter?

minimastudios_
Автор

Excellent work! Can I take inspiration from your scripts here for me and my team's capstone project? I've been trying to make a mechanic similar to rail grinding, but been having trouble thinking around how it can work 😭

polarstarcohhee
Автор

Great Tutorial. I had it almost the same way in my implementation. But in my version the board was teleported outside of the spline. I guess it’s because of world and local positions. With your video I was able to get the placement correct. But the rotation absolutely doesn’t work for me. My player object is rotating all over the place. It seems as if the lerp is doing nothing. Maybe something is overriding the rotation.

Pronuss
Автор

I am having a problem getting the direction to work, I use as sphere with a rigidbody to control my player that handles the physics so I dont think Unity understands the playerForward, when I hit the rail I am going a random direction, and don't rotate to the rail. Would you have any idea how to fix this?

xRaybeesx
Автор

man i wish i can get this to work in godot 😂

GeneralChrisGaming
welcome to shbcf.ru