- 109
- 690 752
Rytech
Canada
เข้าร่วมเมื่อ 5 มี.ค. 2019
Hi, I am Rytech. In this channel, you will find gaming and game development type content.
Minecraft Biome Generation 1/2 | How Minecraft Works Pt. 9 [C#] [Unity3D]
Join my Discord! ► discord.gg/jrRJgfBz2y
Project Github ► github.com/Rytecc/How-Minecraft-Works-Tutorial-Series
#unity3d #unitytutorials
Project Github ► github.com/Rytecc/How-Minecraft-Works-Tutorial-Series
#unity3d #unitytutorials
มุมมอง: 1 747
วีดีโอ
C# Arrays in 1 Minute
มุมมอง 410ปีที่แล้ว
Join my Discord! ► discord.gg/jrRJgfBz2y More on Arrays ► learn.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/
C# Strings in 2 Minutes or Less
มุมมอง 166ปีที่แล้ว
Join my Discord! ► discord.gg/jrRJgfBz2y More on Strings ► learn.microsoft.com/en-us/dotnet/api/system.string?view=net-7.0 String Interpolation ► learn.microsoft.com/en-us/dotnet/csharp/tutorials/exploration/interpolated-strings #unity3d #unitytutorials
I Coded an AI Hockey Goalie Shown on TSN
มุมมอง 1.7Kปีที่แล้ว
Join my Discord! ► discord.gg/jrRJgfBz2y More Information What is FRC & FIRST ► www.firstinspires.org/robotics/frc More About Team 7200 ► www.banting7200.com Clip Sources Robot Goalie Clip ► www.espn.com/video/clip/_/id/37946709 Limelight 3 Clip ► th-cam.com/video/rNEqI0NizVs/w-d-xo.html
I Made a 3D Physics Simulation
มุมมอง 731ปีที่แล้ว
Join my Discord! ► discord.gg/jrRJgfBz2y Link to simulation ► rytechdev.itch.io/3d-forces-simulation #unity3d #devlog
How to Make a Third Person Character Controller in Unity3D #2 | Controller Movement in 1 Minute
มุมมอง 1.2Kปีที่แล้ว
In this video, I go over how to create the controller movement of a third person character controller in Unity3D
How to Make a Third Person Character Controller in Unity3D #1 | Camera Controller in 4 Minutes
มุมมอง 2.6Kปีที่แล้ว
In this video, I go over how to create the camera controller of a third person character controller in Unity3D
How to Simulate Projectiles WITHOUT PHYSICS in Unity3D
มุมมอง 14Kปีที่แล้ว
Extend your knowledge: pomax.github.io/bezierinfo/index.html Pros: - Uses strictly mathematics - Easy to implement and modify - Fast Cons: - No mid-path collision detection by default - Not as realistic when compared to physics simulated projectiles
How to Get Better at Coding as FAST AS POSSIBLE in 2023
มุมมอง 4.6Kปีที่แล้ว
TikTok scrolling clip: th-cam.com/video/MKZiThbKm2M/w-d-xo.html kind of clickbait ik
How to Make a Flexible Interaction System in 2 Minutes [C#] [Unity3D]
มุมมอง 118K2 ปีที่แล้ว
How to Make a Flexible Interaction System in 2 Minutes [C#] [Unity3D]
How to Smoothly Move Between Objects Using Linear Interpolation [C#] [Unity3D]
มุมมอง 9K2 ปีที่แล้ว
How to Smoothly Move Between Objects Using Linear Interpolation [C#] [Unity3D]
Minecraft Structure Generation in 4 Minutes [C#] [Unity3D] | How Minecraft Works Pt. 8
มุมมอง 1.7K2 ปีที่แล้ว
Minecraft Structure Generation in 4 Minutes [C#] [Unity3D] | How Minecraft Works Pt. 8
How to Make Dialogue System in Under 4 Minutes in Unity
มุมมอง 3.4K2 ปีที่แล้ว
How to Make Dialogue System in Under 4 Minutes in Unity
Game Developer Struggles on a Leetcode Problem for 3 Minutes
มุมมอง 1.1K2 ปีที่แล้ว
Game Developer Struggles on a Leetcode Problem for 3 Minutes
MODULAR WEAPON SYSTEM in Unity in Under 4 Minutes
มุมมอง 54K2 ปีที่แล้ว
MODULAR WEAPON SYSTEM in Unity in Under 4 Minutes
I Made a Game in Under 48 Hours | GMTK Game Jam 2022
มุมมอง 5192 ปีที่แล้ว
I Made a Game in Under 48 Hours | GMTK Game Jam 2022
Minecraft Terrain Editing in 4 Minutes [C#] [Unity3D] | How Minecraft Works Pt. 7
มุมมอง 2.5K2 ปีที่แล้ว
Minecraft Terrain Editing in 4 Minutes [C#] [Unity3D] | How Minecraft Works Pt. 7
I Made the Google Dino Game in 3D (and beautiful)
มุมมอง 4322 ปีที่แล้ว
I Made the Google Dino Game in 3D (and beautiful)
How Minecraft Works | Multithreading Pt. 2 [C#] [Unity3D]
มุมมอง 2.1K2 ปีที่แล้ว
How Minecraft Works | Multithreading Pt. 2 [C#] [Unity3D]
How Minecraft Works | Multithreading Pt. 1 [C#] [Unity3D]
มุมมอง 4.5K2 ปีที่แล้ว
How Minecraft Works | Multithreading Pt. 1 [C#] [Unity3D]
How Minecraft Works | Infinite Terrain Generation [C#] [Unity3D]
มุมมอง 5K2 ปีที่แล้ว
How Minecraft Works | Infinite Terrain Generation [C#] [Unity3D]
Playing Subscriber Games #1 | Black Blizzard, Rimecraft
มุมมอง 2232 ปีที่แล้ว
Playing Subscriber Games #1 | Black Blizzard, Rimecraft
How to Set up Autocomplete in Visual Studio for Unity in 1 Minute (Set up Intellisense for Unity)
มุมมอง 14K2 ปีที่แล้ว
How to Set up Autocomplete in Visual Studio for Unity in 1 Minute (Set up Intellisense for Unity)
4 Common Errors in C# Explained (C# Beginner Tutorial)
มุมมอง 9742 ปีที่แล้ว
4 Common Errors in C# Explained (C# Beginner Tutorial)
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(PositionFollower))] public class PositionFollower : MonoBehaviour { public float EffectIntensity; public float EffectIntensityX; public float EffectSpeed; private PositionFollower FollowerInstance; private Vector3 OriginalOffset; private float SinTime; void Start() { FollowerInstance = GetComponent<PositionFollower>(); OriginalOffset = FollowerInstance.OriginalOffset; } void Update() { Vector3 inputVector = new Vector3(Input.GetAxis("Vertical"), 0f, Input.GetAxis("Horizontal")); if (inputVector.magnitude > 0f) { SinTime += Time.deltaTime * EffectSpeed; } else { SinTime = 0f; } float sinAmountY = Mathf.Abs(EffectIntensity * Mathf.Sin(SinTime)); Vector3 sinAmountX = FollowerInstance.transform.right * Mathf.Cos(SinTime) * EffectIntensity; FollowerInstance.OriginalOffset = new Vector3 { x = OriginalOffset.x, y = OriginalOffset.y + sinAmountY, z = OriginalOffset.z }; FollowerInstance.OriginalOffset += sinAmountX; } }
simple and understandable!
I have a problem for the minute 2:30. Could someone help me to match a vector3 with a vector3int?
Thanks for the great tutorial! I had another tutorial that talked about this but I didn't understand and you helped me understand.
For everyone who copied the exact same code and are having problems, perhaps try this: 1. Attach the Interactor script to the Main Camera, then drag Transform to InteractorSource under the script. (And make sure the Range is not 0) 2. Try adding debug statements like from here: void Update() { if (Input.GetKeyDown(KeyCode.E)) { Debug.Log("E key pressed"); Ray r = new Ray(InteractorSource.position, InteractorSource.forward); Debug.DrawRay(InteractorSource.position, InteractorSource.forward * InteractRange, Color.red, 1.0f); // Visualize ray if (Physics.Raycast(r, out RaycastHit hitInfo, InteractRange)) { Debug.Log($"Ray hit: {hitInfo.collider.gameObject.name}"); if (hitInfo.collider.gameObject.TryGetComponent(out IInteractable interactObj)) { Debug.Log("IInteractable found, calling Interact..."); interactObj.Interact(); } else { Debug.Log("No IInteractable component found on hit object."); } } else { Debug.Log("Raycast did not hit anything."); } } } It will tell you exactly what is missing, and what object is being hit by the ray.
I was creating a mulitplayer shooter game and this is the only movement tutorial that actually worked out. TYSM
It's better to place "Tick Towers" from GameLoopManager after "Remove Enemies" otherwise you'll have to deal with dirty EntitySummoner.EnemiesInGame at TowerTargeting. Also fullfill Tower prefab (layer=Enemy and range=10), add box collider to root object enemy prefab (and remove it from child cube). That let you: Enemy CurrentEnemy = EnemiesInRange[i].GetComponent<Enemy>(); without any extra "transform.parent'
First Script: using System.Collections; using System.Collections.Generic; using UnityEngine; interface IInteractable { public void Interact(); } public class Interactor : MonoBehaviour { public Transform InteractorSource; public float InteractRange; void Start() { } void Update() { if (Input.GetKeyDown(KeyCode.E)) { Ray r = new Ray(InteractorSource.position, InteractorSource.forward); if (Physics.Raycast(r, out RaycastHit hitInfo, InteractRange)) { if (hitInfo.collider.gameObject.TryGetComponent(out IInteractable interactObj)) { interactObj.Interact(); } } } } } Second Script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class NumberGenerator : MonoBehaviour, IInteractable { public void Interact() { Debug.Log(Random.Range(0, 100)); } } Remember to set the variables in the Inspector tab, You`re welcome.
if you just attach the HandPivot to the Camera you don't need the last script and its less jittery
Finally, raycasts ACTUALLY made simple. Awesome video man
Why not just use the physics equation for projectile motion? (Not talking about using the Unity physics engine, I mean literally the equation in the physics field of study) Position = x + v*t + (1/2)a^2 It seems like it would be a lot simpler and more realistic while also not having the restriction of having a defined start/end point.
Cheers! Super helpful
the only problem with unity's CharacterController is that when you jump and ceiling is low it will be flyin in it
Really simple & elegant solution, thanks for sharing!
Thanks for this tutorial, but it's really jittery, do you think there is a way to fix that?
Can you create a new valid discord even though ur gone
its invalid
im having trouble with th textures, i cant get atlas into material so i can use it as texture. do i need to get all texture into specific face textures?
It doesn't seem like the drop function works, because at 5:53, there is still an error, namely because they are trying to pass though an item in the Initialize function while the parameter is a Gameobject in the DropItem function, unless I missed something. However other wise great tutorial that shows a flexible inventory system
can someone send me the code? i feel like when im typing it bar for bar i somehow make a mistake, and then the script wont work at all.
Lazy much?
thanks this helped me
can you pleas put in a new discord link thanks
I got confused when this didn't work, then I realized you had to assign the camera to the *Interactor Source* on the camera from the script. Works like a charm now. Basically, you have to -Create the script (Interactor) and write the code -Attach the script to the camera -Make the *Interactor Source* on the camera, the camera itself -Make the "NumberGenerator" (or whatever interaction you want) script and write the code -Attach the the script to the object you're interacting with -???? -Profit Hope this helps someone else that made similar silly mistakes to what I did
your're a legend, it worked
Hey, i know im a little late but im having problems. It only prints the first two characters in the text box.
Update, turns out it prints as many characters as there are segments
Figured it out, js a simple error, i typed DialogueSegments instead of segment.DialogueToPrint on line 48
leaving a timestamp for later 9:19
Ty!
its jittery FIX PLZ
Nice Vid. I Used It For My New minecraft Game ! 1 Sub+!
do u attach the interact script to the player?
If we have more than one interaction key, what can we do?
You can also use a enum to seperate the different types of objects btw
this is perfect, I tried a bunch of different approaches over the last couple days but this exactly what I was after.
It says that entity couldn't be found
THANKSS.. easy to know and you saved my time
Code working but i shoot and cant kill
i don't get it at all
theres a problem, when i try to code an animation and particles in, its spammable and breaks the game, how do i fix this?
this is an amazing tutorial, it gives you a customizable and very mobile system in such a short time, thanks
thank you so much finally i understand how to use the job system holly! you video helped me sement what i thought i knew about it.
fast explanation. excellent
bro i loooove you so much
Can you move a and b when projectile is already on the move?
I do wish you showed us how to make waves and upgrading towers! Still cool tho!
so i was following this tutorial and i get one error that says that there is a missing } at the end even tho there isnt, and i dont know what i did to break it, and i dont know how to fix it. this is my code using UnityEngine; private Vector3 PlayerMovementInput; private Vector2 PlayerMouseInput; private float xRot; [Serializefield] private Transform PlayerCamera; [Serializefield] private Rigidbody playerBody; [Space] [SerializeField] private float Speed; [Serializefield] private float Sensitivity; [Serializefield] private float Jumpforce; void Start() { Cursor.lockState = CursorLockMode.Locked; } void Update() { PlayerMovementInput = new Vector3(Input.GetAxis("horizontal"), of, Input.GetAxis("vertical")); PlayerMouseInput = new Vector2(input.GetAxis("mouse X"), Input.GetAxis("mouse Y")); MovePlayer(); MovePlayerCamera(); } private void MovePlayer() { Vector3 MoveVector = transform.TransformDirection(PlayerMovementInput) * Speed; PlayerBody.velocity = new Vector3(MoveVector.x, PlayerBody.velocity.y, MoveVector.z); if (Input.GetKeyDown(KeyCode.Space)) { PlayerBody.AddForce(Vector3.up * JumpForce, ForceMode.Impulse); } please comment if you know what to fix
terrible, show how to get started with all of the cubes and such. watching another tutorial. fuck you
Criminally underrated channel. You are very pedagogical!
cant make that work :( error error m8 i copy and pasted, how do i have error
im at 2:49 and my bullets aren't doing any damage, please help meee
the chunk appeared flattened and upside down in my case 💀
you will come back?
i guess no lol
he died in a car crash