- 77
- 99 935
lightsandclockwork
United Kingdom
Registrace 30. 07. 2019
Independent Game Development, programming, tutorials and possibly some robot development.
Ultrasonics with Arduino and ESP - Introduction to Programming Microcontrollers Lesson 8
Introduction to Programming Microcontrollers Lesson 8 - Using Ultrasonics to measure distance
Use Arduinos and Tinkercad to add sensors to your projects.
-
Tinkercad
Arduino Uno, Arduino Nano, ESP32, ESP8266
Programming
Use Arduinos and Tinkercad to add sensors to your projects.
-
Tinkercad
Arduino Uno, Arduino Nano, ESP32, ESP8266
Programming
zhlédnutí: 56
Video
Unity AR - Pinch to Scale
zhlédnutí 126Před dnem
A simple script to rescale your Objects - Works for AR and other Unity Mobile Apps Uses Raycasting, Object Selection and proportional scaling 00:00 - intro 00:25 - Basic Project setup 02:13 - Creating the basic UI 03:40 - Getting the touch input C# Script 07:45 - Add Object to Scale 09:00 - Add Scale Script 10:00 - Raycasting 12:00 - Measure Distance 13:56 - Test on device 14:11 - Adding XR A.R.
Programming DC Motors with Arduino and ESP - Introduction to Programming Microcontrollers Lesson 7
zhlédnutí 30Před 21 dnem
Introduction to Programming Microcontrollers Lesson 7 - Controlling DC Motors Use Arduinos and Tinkercad to learn basic motor control - Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266 Programming
Unity VR - Open Doors, Chest Lids, Trigger Key Frame Animation
zhlédnutí 124Před měsícem
Learn how to create and trigger a key frame animation in Unity. Ideal for opening doors, lids, cupboards actioned by a simple trigger box How to use setup a simple blender Model 0:00 - Intro 01:58 - Basic Key Frames 05:27 - Play Key Frame animation from script 08:11 - Simple Blender Chest Model 09:40 - Blender to Unity - Trigger Collider 12:15 - VR Collider Trigger Script 17:24 - Final Test
Programming with Timers - Introduction to Programming Microcontrollers Lesson 6
zhlédnutí 56Před měsícem
Introduction to Programming Microcontrollers Lesson 6 - Timers not Delays Using Timers to manage programming sequences and Addressable led strip - Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266
Unity AR - Adding Video Textures
zhlédnutí 318Před měsícem
A simple way to play videos in your Unity Projects AR, VR, Desktop
Unity A.R. Images Not Tracking - Common Error
zhlédnutí 212Před měsícem
A couple more common error that stop Unity AR from tracking images for AR Simulation.
Programming Servos Part 1 - Introduction to Programming Microcontrollers Lesson 5
zhlédnutí 99Před měsícem
Introduction to Programming Microcontrollers Lesson 5 - Coding Servos Use Arduinos and Tinkercad to learn basic servo control - Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266
Introduction to Programming Microcontrollers Lesson 4 - Coding Neopixels Addressable LEDs
zhlédnutí 108Před měsícem
Introduction to Programming Microcontrollers Lesson 4 Iteration - Coding Neopixels Flash Neopixels using iteration - WS2811 Addressable LEDs IG12 3d Models (STLs) www.etsy.com/uk/market/droid_division Building IG12 - Droid Division (IG11) Lighting the Head - Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266 Adafruit Neopixel
Introduction to Programming Microcontrollers Lesson 3 Iteration - Arduinos, LEDs and Piezo Buzzers
zhlédnutí 69Před 2 měsíci
Introduction to Programming Microcontrollers Lesson 3 Iteration - Lights and Sounds Learn how to use For Loops in your Code Working with LEDs and Piezo Buzzer Make interesting Sounds Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266
Introduction to Programming Microcontrollers Lesson 2 Arduinos and Multilpe LEDs
zhlédnutí 85Před 2 měsíci
Introduction to Programming Microcontrollers Lesson 1 Arduinos and LEDs Programing a sequence of LEDS Tinkercad Arduino Uno, Arduino Nano, ESP32, ESP8266
Introduction to Programming Microcontrollers Lesson 1 Arduinos and LEDs - Hello Blink LED
zhlédnutí 190Před 2 měsíci
Introduction to Programming Microcontrollers Lesson 1 Arduinos and LEDs Setting up and Programming an Arduino Arduino Uno, Arduino Nano, ESP32, ESP8266
Unity Quest Hand Tracking with Gestures, Basic Interaction Part 2
zhlédnutí 207Před 2 měsíci
Simple Gesture Recognition with Unity Quest Hand Tracking Simple Boolean logic to work out hand gestures, no machine learning or pattern recognition. Part 1 - czcams.com/video/eUl8Fd3b8Rw/video.html
Unity Quest Hand Tracking with Basic Interaction
zhlédnutí 302Před 2 měsíci
Unity Quest HandTracking with Basic Interaction Part 1 Use a simple collider to flick a switch Initial Setup - czcams.com/video/YkgJVlfAywk/video.html
Unity UI Basics - AR Split Screen with multiple Cameras
zhlédnutí 459Před 2 měsíci
Use Multiple Cameras to make scalable UIs easier to handle Continues from my Speedrun AR Video
Unity Real Time and Game Time clock: Analogue and Digital
zhlédnutí 81Před 3 měsíci
Unity Real Time and Game Time clock: Analogue and Digital
Unity Recorder - Capture game play footage inside unity
zhlédnutí 219Před 3 měsíci
Unity Recorder - Capture game play footage inside unity
Unity UI Basics - Working with Sound 2D and 3D
zhlédnutí 78Před 3 měsíci
Unity UI Basics - Working with Sound 2D and 3D
Unity UI Basics - AR, VR, Apps - Fonts and images
zhlédnutí 210Před 4 měsíci
Unity UI Basics - AR, VR, Apps - Fonts and images
Unity AR Complete Walk Through with common errors identified (Speedrun?)
zhlédnutí 1,2KPřed 4 měsíci
Unity AR Complete Walk Through with common errors identified (Speedrun?)
Unity Quest VR UI - Virtual Reality User Interface with Ray Caster
zhlédnutí 1,4KPřed 4 měsíci
Unity Quest VR UI - Virtual Reality User Interface with Ray Caster
Unity Quest AR Augmented Reality Setup in less than 10 Minutes
zhlédnutí 1,8KPřed 4 měsíci
Unity Quest AR Augmented Reality Setup in less than 10 Minutes
Unity VR Dungeon Crawler Tutorial Walk Through Part 2 of 2
zhlédnutí 157Před 5 měsíci
Unity VR Dungeon Crawler Tutorial Walk Through Part 2 of 2
Unity AR - Augmented Reality Tutorial Lesson 11 - Scaling Objects OnClick
zhlédnutí 1KPřed 5 měsíci
Unity AR - Augmented Reality Tutorial Lesson 11 - Scaling Objects OnClick
Unity Simple WayPoint System - Watch to the end for waypoint fails
zhlédnutí 150Před 5 měsíci
Unity Simple WayPoint System - Watch to the end for waypoint fails
Unity VR Dungeon Crawler Tutorial Walk Through Part 1 of 2
zhlédnutí 430Před 5 měsíci
Unity VR Dungeon Crawler Tutorial Walk Through Part 1 of 2
Unity MIxamo Character Animations (idle, walk, jump) - and how to add jump physics
zhlédnutí 1,1KPřed 5 měsíci
Unity MIxamo Character Animations (idle, walk, jump) - and how to add jump physics
Unity VR Skiing - Devlog? Tutorial? Walkthrough? Ramble!!
zhlédnutí 620Před 6 měsíci
Unity VR Skiing - Devlog? Tutorial? Walkthrough? Ramble!!
Unity Meta Quest 3 Tutorial Lesson 01 Updated - Project Setup
zhlédnutí 8KPřed 6 měsíci
Unity Meta Quest 3 Tutorial Lesson 01 Updated - Project Setup
Great one sir keep it up! 👍🏻
my laser is going through the UI, I did everything you said :( what am I missing? UI is not clickable
Ok it looks like some elements are clickable some not... Button is working, but ScrollView scrollers are not clickable? Do I need to assign some components/scripts to each of those UI elements to make them receive the laster pointer events?
Ok it was overlayed with other elements (which were invisible but still received click events)
Awesome tips!! Thanks for your work on this tutorial very much appreciated ! :D
outdated - different setup steps for Quest 3
Thanks, That's why i did this one :) czcams.com/video/YkgJVlfAywk/video.html But i do still have students who are on older versions of unity and packages due to network managers. So it is still valid for some... for now..
How I can run this on my phone like how to debug this
Hi, For Android you can follow my other video. czcams.com/video/3i-t5vz8JP8/video.html For iPhone, you need a mac and i don't have one, so cant offer a tutorial for that.
@@lightsandclockwork do you have a tutorial for mac?
No Sorry, as mentioned in the previous comment, i dont own an iPhone or a Mac, so i am not in a position to learn and make a tutorial. Now.. if i every make any income from youtube i will put one on my shopping list :) However i have been putting content on youtube for over 15 years and never earned a penny :/
is it possible to scale or rotate with pinch?
Short answer is Yes :) Long anwser is... I dont know how, never done it, but i shall look into it, thanks for the suggestion, it sounds like an interesting feature and challenge.
I have just added a video on scaling. I'll try and sort rotation out soon. I have had some success, but didnt look good.
@@lightsandclockwork thank you! I'll try it out
Awesome, now it works!
its giving me error inputSource is doesn't exist in OVRinputmodule
Hi, Really sorry not sure. I think i came across this once... i restarted the project and then it worked :/ I will have a look and see if i can force the error.
@@lightsandclockwork okay thank you... but my error is still there after restarting also its not clear
Thanks for your video, I have a question, why my prelab mars is not attached to the mars image :(( it's some distance away
Hi, A common problem, yuo have most likely moved the image on the tracked image empty, so the picture you can see is in one place, but the tracker is somewhere else. I recap this in my speedrun tutorial. czcams.com/video/2VDTWEwYyek/video.html
Thank you. Is gonna be a second lesson? Interactions using buttons or joysticks?
Hi, I am happy to do another lesson 2, but i have already covered this as it is the same as the quest 2. czcams.com/video/kiOcHT4gs0k/video.html
Thanks so much, I am a bit sicked by the fact that Unity's tutorial was not even in the same league as your tutorial Liked and Subscribed
Thank you, very kind of you to say :)
I’m following this tutorial but every time I try to press play in the XR environment the window changes to “#scene” and nothing works as it works in the video.
Hi, I am sorry yuo are having issues. can i recommend you have a quick look at my other video? Common issues. czcams.com/video/2VDTWEwYyek/video.html
Hello Sir, do you have a solution for scene transitions? I have a back button that returns me back to the main menu but it gives me this error: "MissingReferenceException: The object of type 'SimulatedTrackedImage' has been destroyed but you are still trying to access it." any ideas? thanks.
Hi, If you read the full error message, it should tell which script is unhappy. But.. I think. You have attached a script in your scene, but have not assigned it the needed variables/prefabs/assets. Or you are deleting the required asset and then trying to use after you have deleted it. I will try and do a tutorial on working with AR scenes. I have covered it in VR, should be the same.
@@lightsandclockwork yes, I added a DontDestroyOnLoad function on XR Origin, will check out your VR video. Thanks a bunch
0:08 is probably my favorite robot yet
That is/will be my robot drummer.
Have you by chance tried recording from the point of view of another camera in the scene? Like a have a room with a 2nd cam at the back facing the front of room, where I will be with my OVR rig moving around. , And the 2nd cam in the back is hooked up to the recorder- but the output of the recording is pitch black. Not seeing any errors on the recorder so not sure what the problem is.
I spent that long thinking about this i forgot to answer. In short, no. I have only used this method as demonstrated. For other videos I use OBS and point the video capture at the video output i want. For other videos i record inside the Quest. If i wanted to record the output from 2 different cameras, i would undock the unity game views, place each view separately and then use OBS to setup 2 window captures. I would need to to use Oculus link for this.
mine shows the wrong controllers( old black ones ), any idea why? I just started and these videos are the best thank you!
There is a menu on the inspector/script when you add the controller. You can select which controller you use. I used Left/Right Touch (i think)
No se si podria subir el proyecto al repositorio de github, ya que algunos scritps no estan o si los script los puede subir
Buen tutorial pero como no hablo muy ingles aun me quedan dudas
hello sir, what can I do so that I can only have one info popup at a time? Like when I click mars multiple times it can only spawn one marsInfo gameObject
Hi, Basically you will will need to add a boolean variable. Start as false, only spawn if false and then set to true when spawning for the first time.
69th like
Very Usefull
Thanks for the tutorials. I haven't used neopixels before. I'm looking forward to connecting with external power while keeping the programming USB connected. I've had a problem in the past where I've burned out my laptop USB port.
Oh no! I am always worried about that, but so far hasnt happened. I make robot cars for teaching in class, they need batteries to power the motors and the kids often leave the battery pack on, when they plug in to re-code. I'll include some safety checks. I am sure someone with a higher level of electronics will show me a better way.
Love the editing😁
Thanks for taking the time to make these videos.
You're Welcome :) Feel free to make suggestions for future content.
the prefabs are not appearing i followed your instructions well
Hi, Check out my other video, i include common errors. Also, I have identified a new common error, try scaling down your images and dont have them too far away from the camera. czcams.com/video/2VDTWEwYyek/video.html
thank for the video , but can we put 1 image and 1 video together? can you show some tutorial
You're welcome. Do you mean play a video over the tracked image? If so, i cover that in this video. czcams.com/video/JnLzoXETbWs/video.html
@@lightsandclockwork yeah like that , but my final project is i have must 3d object plus a video over the tracked image , can you show me some tutorial , by the way where i can contact you if i have any question?
Hi, I show you how to add a video in the link i shared. Sorry not available for direct support at the moment, I have a lot on with my full time job.
As mentioned try the video i added the link to, if you dont succeed, let me know.
Apologies, i do not explain it! I thought i did. I briefly mention it here. czcams.com/video/TWY1oepHwis/video.htmlsi=9h8soB9rL1yTL4mT&t=291 But basically, create a cuboid and drag a video on to it, like you apply an image texture. I'll try and fit it in a video soon.
Thank you very much, Anyone, who watches this series will must subscribe because of the clear instructions +1 sub
Thanks!!
Thankou for wonderful work
Great tutorial, thank you
Definitely great tutorial , please continue such VR tutorials on Quest3 . because v3 is new and there no much tutorials for it.
Thanks, what sort of content/features would you like to see?
@@lightsandclockworkpls finishing a quickly game and explaining how to play it with the oculus.
Hello. I need your help. Do you have this project ready?
sorry, no. I abandoned it. What you see is what i did. I was hoping someone might take it and improve
I find your tutorials to be extremely helpful! I am still watching through them, but I was wondering if you could create a tutorial that shows how to open the hood of a semi truck with my controller or hand and have it hinged so that it opens like a door. I have already created the environment so that I can grab the hood and set it aside with my controller or hand, and I can also grab the engine inside and take it out.. But I would like different functionality like a hinged hood, and to have the engine slowly rise and rotate when touched in augmented reality. I plan on taking it further by adding text buttons to highlight individual components on the engine. This is for a learning environment like a classroom. Thank you again for your great series! An example of what I have created so far is here: czcams.com/video/omUFH6WpftU/video.html
Hi, I like what you are working on! I have done something similar, i am/was working on a VR Piano, where i want the player lift key cover and the main lid. 3 methods. 1. Simple code - a trigger rotates the 'hood' using code (i'm in the UK it's a bonnet over here :) ) 2. as you say a hinge joint 3. key frame animation. I'll look into it and share my method and maybe aim to compare methods.
@@lightsandclockwork I have made progress on my truck engine VR. I am now using VR Builder to create this: czcams.com/video/y9CnLxnmvWM/video.html
@@lightsandclockwork Just an update on my progress.. I have created this interactive experience using VR Builder asset in Unity: czcams.com/video/y9CnLxnmvWM/video.html
Thanks for making this video! Really helps new XR developers like me pick up things much faster.
Your welcome, I am working on part 2 now, hopefully out tomorrow. (if i can sort some bugs out)
Please help me. I am not able to simulate during play. I did the exactly same how you did.
Sorry, i am not sure where it may have gone wrong, please check my newer video where i sppedrun it and i cover common errors.
@@lightsandclockwork I got it It was my fault. Thanks for replying ☺️
i am glad you solved it :)
Hi, tnx for the tutorial. Unfortunately it seems it doesn't work when I make an apk build
So I don't know. what error messages do you get? Does it compile? Have you set/agreed to the positions? Set your phone as a developer device?
@@lightsandclockworkYep does not work in a build, it does compile but i do not see the blue line and cannot interact
Edit: I Fixed it, my issue was that the Unlit/Color shader was not included in the build-in shader settings in Edit -> Project Settings -> Graphics, because i am using the URP render pipeline
I have followed all the videos and managed to develop a working version. Thank you. I can build the app, installed it on my phone. I can see the UI, hear the audio files. But the screen in black where it should use my phone camera and track the real-world. Please guide me with this. Wonderful playlist by the way.
the camera is now working - but detection aspect is not working. I have one plus nord. I tried on Real Me andriod phone as well.
When I click play. The sphere is not spawning. Help.
I want to spawn a tooth on the basis of which card is shown. I am a dental student and want to make an app which shows a particular tooth when a card is shown. I have downloaded the model but I don't know how to deploy my model. But since my sphere isn't working either I don't know how to proceed further.
that sounds a really cool project! :) Check my newer speed run version, it covers common errors. When you have the sphere working, you should be abe to parent the tooth the sphere and then turn the sphere renderer off.
the planet is not showing when I press on play, any suggestions?
Please check the speed run version, i highlight common mistakes.
Hi, I have to suggest that the simulatedimageTracker should be rotate (-90,0,0). That simulatedImageTracker is facing upside by default(z axis point to forward),but the Quad Image is facing backward(z axis point to up). This will mislead the user and may incur some transform problems in real android devices.
Thanks, this is a good way to fix :)
Hello sir, I have been following this tutorial to create a AR solar system project. But I am facing an issue with the tracking of image. If I give the coordinates of the prefabs as 0,0,0, they all get stacked in one place and that means the images are not properly tracked by the prefabs. Can you please help me to solve this issue quickly as I have to submit the project on tuesday, 16th april, 2024?
It sounds like you have moved the 'quad' and not the whole empty and quad. So the image you are seeing has been displaced from the simulated tracked image. Check the newer video where i speedrun with common mistakes.
I have a 2D UI that has been implemented on top of an AR camera. I want the user to be able to use the interface while still viewing AR objects. When I implement the trackedImage, it does not appear on the simulation view. As soon as I move my camera, in Unity, to point to the image, the UI disappear off the simulation. Do you know how I can make sure the UI and image both remain on screen?
Oh, i am not sure why you are having this problem. It is not one i have come across. I would suggest have a watch of my speedrun video with common errors. Maybe you have missed a setting. The UI should stay where it is and allow you to click on other objects. I will be doing a split screen ui tutorial in the next few days.
Thanks for the video. seems it need to be added to the playlist to replace an older one.
Thanks for the tutorial. Everything worked pretty well but i keep getting the same prefab gameobject for both pictures even tho i have the exact same code script as you. do you have some inputs where to look at?
Hi, It might be worth checking my later video where i speedrun the whole thing while going over common errors. but... This video has been out a while and i have yours is the same problem in 2 days.. i wonder if a unity update has changed things. You may want to try... Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidentally parented the 2 prefabs?, open each one (double click the actual prefab)
Hello! I started building the app earlier, but I would get an error after a couple of seconds of building it. I found that having 4 or more Images in the Reference Image Library would trigger the error. Is there a way to fix this?
Sorry, Not sure of your error. I have just test mine with 8 images and all works. Are file types ok? Have you tried a different batch of images? I know unity does not like jfif files. What does the error say?
Hi I have a problem which I couldn't resolve even with the new video... I have 2 images set up as well as 2 prefabs. The problem is, it alway instatiates both prefabs on top of each other even if only one trackable image is there to be recognized... I already checked the naming... I have no idea what is happening here... Hope you hav an idea. Thanks in advance!
A coulpe of things?? Have you removed the prefab from the AR Tracked Image Manager script? That was just a place holder before writing multi image handler. When i cant figure out what is going wrong, i create a new scene and start again. Have you accidently parented the 2 prefabs?, open each one (double click the actual prefab)
Hey I'm curious if its normal for just a single controller to have the ray? Is it possible for both to get it
Hi, This tutorial only show the one hand method. It should be possible to add a 2nd UIHelper controller and link that to the other hand. You could then add/modify the script to make it turn on and off with a button. I will look into doing a part 2 tutorial.
Saw this when scrolling through YT, reminded me to smash that notification bell
heyy....I followed everything step by step and the thing is earth and the mars were spawning but at totally different spots faar from the images...i tried doing the whole process again and now the planets just dont spawn....any help ?? Edit: i managed to spawn the planets but they are taking alot time to spawn now.... How do i fix it ??
Hi, I am glad you sorted the spawning. I did a newer video that covers common mistakes. The time to spawn.. dont know, i know it's frustrating. I have done this with quite a few students in real classrooms and found the same problem. I have not found the pattern. It works much faster on a real mobile device. It can be quality of source images, scale, distance from virtual camera. Angle to camera...
u might hv moved the child(quad) instead of the gameobject with trackablescript , or ur position of the prefab is not set to zero