dude showed up, showed us how to make a hoverboard, and left. Absolute legend!
@stanferrolino12
3 жыл бұрын
I like these kinds of quick Ian Hubert-style videos. Quick, to the point, no lower than 2 or 4 minutes.
@dogesenpai3469
2 жыл бұрын
Underrated content! Straight to the point and very informative, keep it up!
@shivampachpute8667
3 жыл бұрын
Thank you so much bro!! i was looking for this all over internet
@blumstudios9557
3 жыл бұрын
You're welcome!
@ThePavilionWeb
3 жыл бұрын
What a Legend! Subscribed straight away, thank you.
@vegillito
3 жыл бұрын
Hey, nice tutorial. Easy. Straight and informative. Would like to see what more u could make. 🔥
@tunesonglabel
Жыл бұрын
Dude this is the best for so many reasons .... I would imagine your channel should have 151k subscribers. Raycast has always switched a "bye now I'm doing something else" switch in my brain although somehow you made it all surprisingly .... I don't know how to say it ... hover potential? I think it was having the four raycasts on the four corners of the hover board. That is, in a way, one of the most direct and applicable uses of the Raycast function that shows what may be done with four of them. Many thanks.
@kurtdekker
Жыл бұрын
Brilliant. Exactly why Unity is so much fun to gamedev and gamejam in!
@foreignwarren7361
Жыл бұрын
The legend himself!!!
@paypalcashrich5222
11 ай бұрын
@@foreignwarren7361 I can remember him bullying beginner me on unity forums 😭
@arionpaul6208
2 жыл бұрын
Pleaaase make more videos!!!! This short tutorial was awesome
@iamDerez
3 жыл бұрын
Bro ... We need more of these vids 🙏
@I-OMusic
4 ай бұрын
sick video, might go play around with this now
@Mikelica69
Жыл бұрын
Wow! Fast, simple and useful, thanks a lot!!!
@TheSandersAuto
3 ай бұрын
This helped a lot THX!
@aaronchipman5491
Жыл бұрын
It worked 1st time, thanks
@gekkosurvival3145
2 жыл бұрын
I followed this 5 times already and still it doesn't work for me, The variable anchors of VehicleController has not been assigned
@trr3576
3 жыл бұрын
Your video is very good please make more!
@laranjarodada7870
Жыл бұрын
thank you very much for doing this, now thanks to you i can make my dream car system, thank you very much
@didntask2438
Жыл бұрын
Probably a good idea to clamp force so it doesn’t launch it’s self into the air
@kiyasuihito
5 ай бұрын
You're like Miziziziz for Unity (or Miziziziz is like you for Godot). Nice.
@YouMightCry
Жыл бұрын
Wow that's great
@munyunu
3 ай бұрын
Thank you!!
@FoxxRyan7713
2 жыл бұрын
absolute legend
@Willskull
2 жыл бұрын
Thanks!!
@SpookieD00kie
2 жыл бұрын
God bless this damn video
@joseparedes2484
Жыл бұрын
nice video, can you explain how to make a "brake" for this sistem? and make to stop when is not using, like is no moving when you don't want it to move
@dalailhama5365
3 жыл бұрын
thank you
@CAESAR_IS_GOD_mohammadisaloser
2 жыл бұрын
do you have a vid that shows how to put a player (that already walks jumps etc.) on the board? and off...
@analchampion7811
2 жыл бұрын
This tutorial is... okay A lot of information is left out or glossed over - small tweaks of values and stuff that are done briefly before a cut, but not mentioned. Check the comments for some common issues with multipliers not being enough. Also dude, if you're going to make a speed tutorial, you've got to speak more clearly.
@__Rizzler__
9 ай бұрын
cumazing
@Im_Trustworthy
Жыл бұрын
I fixed my last problem, now I have a problem that if I look up my hover board will go up, I want it to float on the ground, not the sky, how do I do that?
Жыл бұрын
Hm, i'm actually searching how create movement to flying cube, who can jump and dash. I'm a totally noob in Unity, sorry for this question, but can this method work for me? With freeze rotation, i think
Help please it says rigidbody.force assign attemp for 'Board' is not valid. Input force is { NaN, NaN, NaN } My script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class hover : MonoBehaviour { Rigidbody hb; public float mult; public float moveForce; public float turnTorque; void Start() { hb = GetComponent(); } public Transform[] anchors = new Transform[4]; public RaycastHit[] hits = new RaycastHit[4]; void FixedUpdate() { for (int i = 0; i < 4; i++) ApplyF(anchors[i], hits[i]); hb.AddForce(Input.GetAxis("Vertical") * moveForce * transform.forward); hb.AddTorque(Input.GetAxis("Horizontal") * turnTorque * transform.up); } void ApplyF(Transform anchor, RaycastHit hit) { if (Physics.Raycast(anchor.position, -anchor.up, out hit)) { float force = 0; force = Mathf.Abs(1 / (hit.point.y - anchor.position.y)); hb.AddForceAtPosition(transform.up * force * mult, anchor.position, ForceMode.Acceleration); } } }
@severgamerson7050
2 жыл бұрын
Mine keeps saying "rigidbody.force assign attempt for 'Board' is not valid. Input force is { NaN, -Infinity, -Infinity }." Can Anyone Explain please?
@Crocc101
4 ай бұрын
could you make a version for the new input system?
@_joshuazack
4 ай бұрын
Just make a Float Value in your Input system and change the Get Input for for something like driveInput = _playerInput.actions["Drive"].ReadValue();
@Crocc101
4 ай бұрын
@@_joshuazackthanks
@noahgraves4181
3 жыл бұрын
the "GetComponent" part isn't working my visual studio?
@echiko4932
8 күн бұрын
Did u ever figure it out? I have the same issue rn *Nvm i had "GetComponont" lmao
@alienouz
2 жыл бұрын
a very good video, I just couldn't integrated it to the new input system, can anyone help with this?
@hajjex_9086
2 жыл бұрын
Do you have discord that I can communicate with you in? There that one thing that I stayed months unable to understand.
@arionpaul6208
2 жыл бұрын
Bro, can you explain your problem, I'm not pro, but maybe i could help you)
@hajjex_9086
2 жыл бұрын
@@arionpaul6208 thanks mate, Its that part when he wrote : ----------- For (int I = 0; I < 4; i++) Applyforce(anchor[i], hits[i]); ------------ How is this supposed to loop around all the anchors constantly, even though I stops at 4?
@arionpaul6208
2 жыл бұрын
@@hajjex_9086 well, i will try my best to explain. As you can see this for loop is working in fixedUpdate, which means that it is updates 50 times per second (50 is default value set by unity) and every single time we are telling for loop that i = 0, and during this one update for loop is looping through each anchor.
@arionpaul6208
2 жыл бұрын
@@hajjex_9086 i will suggest you to watch videos about different types of update, and about types of loops, this will help you a lot.
@hajjex_9086
2 жыл бұрын
@@arionpaul6208 oh, so I is being re-set each update, But how can the I reach 4 And if it can, how unity knows it needs to re set the value when it reaches 4? Thanks, and sorry for asking to much questions.
@falkherbig4394
3 жыл бұрын
I have a proplem with floating. It always hover slowly down to the ground. :( Pls helppppp
@blumstudios9557
3 жыл бұрын
post your code, Ill take a look at it
@falkherbig4394
3 жыл бұрын
@@blumstudios9557 using System.Collections; using System.Collections.Generic; using UnityEngine; public class rbHoverboardMovement : MonoBehaviour { Rigidbody rb; private void Start() { rb = GetComponent(); } public float multiplier; public float moveForce, turnTorque; public Transform[] anchors = new Transform[4]; RaycastHit[] hits = new RaycastHit[4]; private void FixedUpdate() { for (int i = 0; i < 4; i++) ApplyForce(anchors[i], hits[i]); rb.AddForce(Input.GetAxis("Vertical") * moveForce * transform.forward); rb.AddTorque(Input.GetAxis("Horizontal") * turnTorque * transform.up); } void ApplyForce(Transform anchor, RaycastHit hit) { if(Physics.Raycast(anchor.position, -anchor.up, out hit)) { float force = 0; force = Mathf.Abs(1 / (hit.point.y - anchor.position.y)); rb.AddForceAtPosition(transform.up * force * multiplier, anchor.position, ForceMode.Acceleration); } } }
@falkherbig4394
3 жыл бұрын
@@blumstudios9557 Thank you for the fast respons :)
@stanferrolino12
3 жыл бұрын
probably needs more in the multiplier
@falkherbig4394
3 жыл бұрын
@@stanferrolino12 ok
@robbielewis8559
3 жыл бұрын
how do you get the camera follow
@blumstudios9557
3 жыл бұрын
Add it as a child to the hoverboard
@hajjex_6432
3 жыл бұрын
@@blumstudios9557 that will be simple and easy but so annoying when it gets stuff below it. it will wobble so badly and will give head ache try adding vector3 variable then just sub the POS from the pos of the hover board. also thanks for the epic vid.
@blumstudios9557
3 жыл бұрын
@@hajjex_6432 Thanks man, yea if someone want good quality camera follow, they should look into tutorials on making a camera controller
@heyreefes
3 жыл бұрын
y no more tutorials sensei
@blumstudios9557
3 жыл бұрын
school...
@heyreefes
3 жыл бұрын
@@blumstudios9557 oh
@dctimon
Жыл бұрын
Just a tip, don't place them ON the board :- )
@nace6849
3 жыл бұрын
i can turn, but i cant drive forward
@sqwert654
3 жыл бұрын
you need to add turntorque docs.unity3d.com/ScriptReference/RaycastHit-distance.html
@analchampion7811
2 жыл бұрын
@@sqwert654 And? Adding turntorque is part of the video, and it still doesn't work. The left and right buttons make the hoverboard rise and fall, but they don't make it turn.
@harryag.
Жыл бұрын
make the move force 1000
@mikeha
7 ай бұрын
@@analchampion7811 make sure you use AddTorque and not AddForce for the horizontal axis. This is the mistake I made and it did the same thing for me until I changed it to AddTorque
Пікірлер: 83