UNIGINE TUTORIAL C#: Third Person Finalized

  Рет қаралды 728

Lazy Unigine Dude

Lazy Unigine Dude

Күн бұрын

FInalizing the Third Person Controller. Animation, Physics and Camera.
Comment down below for any questions or concerns
Any business inquiries ask me on: lazy.unigine@gmail.com
#Unigine #LazyUnigine

Пікірлер: 28
@IPlayKindred
@IPlayKindred 9 ай бұрын
This is so cool, i wish unigine was real
@bulba1995
@bulba1995 2 жыл бұрын
Thank you for the lesson . Lovely person 👍
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
No problem friend 🙏❤
@JIN-TECH
@JIN-TECH 2 жыл бұрын
Great tutorials! Thanks
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
😤🙏
@user-jx7pc9ku7b
@user-jx7pc9ku7b 2 жыл бұрын
We miss you
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
Aww I'm back 🙏
@BeninMotion3D
@BeninMotion3D 2 жыл бұрын
Great tutorial man, keep it up! Any chance of covering a first person controller in the future?
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
I would have done it sometime soon but I already know Andrey made one on it and his tutorial is so much complete compared to mine. kzfaq.info/get/bejne/gtJmd5lemq_Oemg.html
@rolantin8232
@rolantin8232 Жыл бұрын
very good man ! need more character contol tutorial ! thanks a lot .
@LazyUnigineDude
@LazyUnigineDude Жыл бұрын
No problem 😤🙏
@voc007
@voc007 2 жыл бұрын
Awesome work, is there gonna be more ?
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
Yes, soon. Just released one right now :)
@elJaviFlores
@elJaviFlores Жыл бұрын
Whats up! Would it work using the mouse scroll wheel to increase values say for like the transition between movement (idle->jog->sprint) depending on the scroll value. It would make it easier for the third person controller, also turning the character with the mouse pos left and right. Maybe thats a bit more advanced lol but it would be cool to learn since im trying to figure it out aswell
@LazyUnigineDude
@LazyUnigineDude Жыл бұрын
Yes! so input class has a mouse button and you can get the middle mouse and check whether scrolled up ordown and then just change from there! for the character autorotate i did write that script which is github.com/LazyUnigineDude/Unigine_CSS_Tutorial_2.16/blob/master/data/Scripts/Controllers/PhysicsController.cs
@TheHangedBaron
@TheHangedBaron 6 ай бұрын
how do you access the rotation of the node. variable variableName = rotation.x; and apply that variableName to the node.Rotate
@LazyUnigineDude
@LazyUnigineDude 6 ай бұрын
to get the rotation of a node you use node.GetWorldRotation() which gives you a quaternion which then you can access the EulerXYZ of the rotation
@TheHangedBaron
@TheHangedBaron 6 ай бұрын
@@LazyUnigineDude private void LockRotation(){ float lockValue = 0f; quat xRot = node.GetWorldRotation(); quat yRot = node.GetWorldRotation(); float xValueRotation = xRot.x; float yValueRotation = yRot.y; if(xValueRotation > lockValue || xValueRotation < lockValue){ node.SetWorldRotation(new quat(lockValue, 0, 0)); } if(yValueRotation > lockValue || yValueRotation < lockValue){ node.SetWorldRotation(new quat(0, lockValue, 0)); } } im trying to prevent my player rigid body from rotating in x & y rotation. this is my code so far.
@LazyUnigineDude
@LazyUnigineDude 6 ай бұрын
.x and .y are the quaternion x and y, you need the EulerX and EulerY for rotations along the X and Y
@LazyUnigineDude
@LazyUnigineDude 6 ай бұрын
And if you want to have no rotation in the x and y of the rigid body do the angular scale equal to vec3.up
@TheHangedBaron
@TheHangedBaron 6 ай бұрын
@@LazyUnigineDude I think i done it. private void PlayerLockRotation(){ float lockValue = 0f; quat xRot = node.GetWorldRotation(); quat yRot = node.GetWorldRotation(); float xValueRotation = xRot.EulerX; float yValueRotation = yRot.EulerY; Unigine.Console.WriteLine("X Euler Value " + xValueRotation); Unigine.Console.WriteLine("Y Euler Value " + yValueRotation); if(xValueRotation > lockValue || xValueRotation < lockValue){ node.SetWorldRotation(new quat(lockValue, 0, 0)); } if(yValueRotation > lockValue || yValueRotation < lockValue){ node.SetWorldRotation(new quat(0, lockValue, 0)); } } thank you.
@cg.man_aka_kevin
@cg.man_aka_kevin 2 жыл бұрын
One view??? 😂😂😂
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
You're first leggo 😤🙏
@cg.man_aka_kevin
@cg.man_aka_kevin 2 жыл бұрын
@@LazyUnigineDude I saw 1 view before I watched this video... Lol
@LazyUnigineDude
@LazyUnigineDude 2 жыл бұрын
@@cg.man_aka_kevin that would be myself to check the sound and video so technically it's you 😌
@cg.man_aka_kevin
@cg.man_aka_kevin 2 жыл бұрын
@@LazyUnigineDude Ooo... Ok. 😂😂😂👍👍👍
UNIGINE TUTORIAL C#: Raycasting
9:16
Lazy Unigine Dude
Рет қаралды 481
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 4,2 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 58 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 46 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 497 М.
UNIGINE TUTORIAL C#: Main Menu and World Changing
6:58
Lazy Unigine Dude
Рет қаралды 499
What is the Smallest Possible .EXE?
17:57
Inkbox
Рет қаралды 285 М.
Tierlisting the BEST (and worst) GAME ENGINES
33:51
BiteMe Games
Рет қаралды 205 М.
Adobe is horrible. So I tried the alternative
25:30
Bog
Рет қаралды 592 М.
Unigine C#: Understanding Components
16:01
Lazy Unigine Dude
Рет қаралды 235
UNIGINE TUTORIAL : Inventory, Database and the UI for it
11:57
Lazy Unigine Dude
Рет қаралды 871
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 57 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 693 М.