Player Physics & Movement | UPBGE 0.36.1 beginner Tutorial part 2

  Рет қаралды 2,345

loxaevion

loxaevion

Күн бұрын

Пікірлер: 33
@izazed5161
@izazed5161 3 ай бұрын
Very nice tutorial! The jitter issue has to do with the Apply Movement node, this isn't really intended for physics objects - The character physics type should be moved by the "Walk" node
@Tertion
@Tertion 3 ай бұрын
So do you suggest using the "Dynamic" physic type instead, if we don't want to use the "Walk" node ?
@alan112223
@alan112223 4 ай бұрын
Thank you! Please dont stop
@abdoolvfx615
@abdoolvfx615 4 ай бұрын
Thank You Lox for the much appreciated effort
@loganpochatko2423
@loganpochatko2423 4 ай бұрын
Awesome videos series so far. I want to keep moving along with the lesson, but I am stuck at logic nodes. I have attempted to follow your process, but I cannot make my cube move. It's as if the logic nodes just aren't working. I don't understand....lol This seems to be a known problem with Mac... which sucks...any advice on getting the logic nodes to respond in the player?
@loxaevion
@loxaevion 3 ай бұрын
Interesting. I dont know much about mac, but it may help to try a few other releases version. Same version just a different build. But i know that can be a pain. If you haven't tryed updating the logic nodes in the preferences It could be a place to start.
@SkorgeGames117
@SkorgeGames117 4 ай бұрын
I know that logic nodes are very useful, but if you combine it with a little Python programming, the doors open to doing things that you cannot possibly do with logic nodes. Python will always help you get out of the problem, don't be afraid of it . It's just a suggestion. Good job you do teaching the community.
@loxaevion
@loxaevion 4 ай бұрын
@@SkorgeGames117 I totally agree, this is for people that are just getting into the engine perhaps I will do a Python totally in the future. And thank you.
@SkorgeGames117
@SkorgeGames117 4 ай бұрын
@@loxaevion I know my friend, I am also working on a pack of files for UPBGE and Range Engine, where I will try to explain how to do certain things using Python components, without logic bricks or logic nodes. I'm not a master programmer or anything like that I just do it for fun. Have a nice day....
@daniyalbabazadeh8862
@daniyalbabazadeh8862 4 ай бұрын
Tnx
@AbElsaied
@AbElsaied 4 ай бұрын
Thank you very much for these videos they are really helpful. I have never used blender or any game engine before and I found strange imperfect behavior with physics so I wanted to know if this happens in all game engines or just blender. I move a cube up on Z axis and let it fall on a rotated plane only around Y axis. Then it moves to horizontal plane. The cube is supposed to move only in y direction but it starts to gain a little rotation and slightly moves towards x as it slows down. I tried both UPBGE and blender physics both have the same problem.
@loxaevion
@loxaevion 4 ай бұрын
You can change the rotational friction in upbge its right at the top right, under the physics type. I like the number to be at .5 to 1 for a more realistic effect. Also there are linear velocity settings you can change as well. The default settings can be a little weird. Also make sure your objects are set to a scale of 1 or higher to get the best collision data. Hope this helps.
@AbElsaied
@AbElsaied 4 ай бұрын
@@loxaevion Yes this solves the problem thank you 🌷🌷. But it isn't supposed to happen at all even if the rotational friction is 0 it shouldn't gain any speed in any other direction than the one it is sliding on so it isn't not very accurate physics simulation. Does this also happen with other engines like unity? Because I just need to get simple physics simulation but need to be accurate as much as possible.
@loxaevion
@loxaevion 4 ай бұрын
@AbElsaied I personally haven't done much physics work in unity but i could be the rigid body solver. I do know that a lot of engines will go for a less accurate physics sim to help maintain performance. Since calculations are expensive. It would take more research
@staylifted_1232
@staylifted_1232 Ай бұрын
Excellent job bro, keep it up!!! One question of course lol. Do you know how to use the logic node trees after i hit the "compile button" there is 0 info online, and the upbge docs saying nothing helpful. After i hit compile and then grab the "messy" py script it generates, i put the script in the logic bricks, just like normal .py codes i make. But nothing happens at all in game.even the console is saying there is no errors, its like it dosnt exist. And yes i have looked for hours online trying to figure it out with no success, Any help would be appreciated. Thank you.
@01.akshityadav15
@01.akshityadav15 4 ай бұрын
Good 👍
@Spacecookie-
@Spacecookie- 3 ай бұрын
Can you explain why keys are subtracted from each other like they are numerical values please? It's no good me being told just to do something because... whatever. Sorry, but I need to know why I'm doing those things so I know kindof what I wish to do next time, and why I use certain things at certain times.
@loxaevion
@loxaevion 3 ай бұрын
Sure, the output of the key down node basically puts out a true or false signal. And using the math node we can convert it to a 1 and 0 output when we subtract the outputs we get a -1 allowing the player to move in the opposite direction. W = 1 and S = -1 then we feed that number into a vector 3 and normalize it to keep the output consistent. Since the raw output is 1 this can be to fast for player movement so we multiply by .2 to slow the player down. Hope this helps
@redscoot8634
@redscoot8634 2 ай бұрын
hey its working for me except theres a problem... my character is a low poly robot with wheels , its shaped like a box like one of those delivery bots....for some reason it seems to "hover" above the surface ..everytime it falls or lands or moves..it seems to not be touching the surface but rather hover over it..its like the collision box is bigger than it should be..how do i fix this? pls help!
@loxaevion
@loxaevion 2 ай бұрын
You may just need to move the rig down to match the floor. Otherwise if it is already on the floor but starts to hover during some animations could mean that that the main root bone has been animated. Just remove the keyframs from that bone. It is hard to tell what exactly needs to be done since I dont know what your scene looks like, but those are the most common way to fix that issue.
@redscoot8634
@redscoot8634 2 ай бұрын
@@loxaevion it's not rigged...only a solid cel shaded model with logic movement nodes....it seems to "sit" higher than the actual colliding surface....is there a way to change the collision box size n shape tho?
@redscoot8634
@redscoot8634 2 ай бұрын
@@loxaevion hey ! i managed to fix it ....basically i just changed from box to convex hull , and it fixed it..convex hull is basically mesh collider....only thing is it lags on a raised surface edge when it falls that is ,but otherwise its totally fixed !
@zmags6915
@zmags6915 3 ай бұрын
Hi, I have followed all the tutorials but why is my cube still not moving?
@loxaevion
@loxaevion 3 ай бұрын
make sure you that you applied the logic to the cube. otherwise nothing will happen. also make sure to select the person icon or directly select the player with the movement node.
@zmags6915
@zmags6915 3 ай бұрын
@@loxaevion I've done all that but it still doesn't work
@timurgayberi9334
@timurgayberi9334 3 ай бұрын
​@@zmags6915 Yeah same issue
@zmags6915
@zmags6915 2 ай бұрын
@@timurgayberi9334 in the end, I used logic bricks to move my cube, I don't know why my logic node didn't work even though I had activated the add ons
@loxaevion
@loxaevion 2 ай бұрын
you may need to update them. you can do this in the user prefs under logic nodes plus. you may need to pick a different version till it works.
@Bit-Bit20
@Bit-Bit20 4 ай бұрын
This is cool
@Grummystudios
@Grummystudios 3 ай бұрын
How can I make smoke come out every time my character runs or walks? Smoke will come out, as in Overcooked 😅
@loxaevion
@loxaevion 3 ай бұрын
I think overcooked was made in unity or an engine similar to it so they are probably using a particle system. In upbge you can achieve a similar effect by animating some shapes to start large then shrink over a few frames. You can also do this through code. Then you can remove the objects after they get to a specific size. Or just animate a loop that way your game isn't calculating spawning and removing objects the entire time. If you go for the loop option is as simple as parenting it to the back of the player at the feet then setting the animation to play when the player moves.
@Grummystudios
@Grummystudios 3 ай бұрын
@@loxaevion thanks bro The Best ;)
@camper7628
@camper7628 4 ай бұрын
Dreem make true itis easy
Курс разработки видео-игр на движке UpBGE #1: Механики перемещений персонажа
9:02
ЦМИТ Станция | 3D-технологии это к нам
Рет қаралды 723
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 32 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 121 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 1,9 МЛН
Every 2D Node Explained in 9 Minutes !
9:19
Lukky
Рет қаралды 354 М.
How To Make a FIGHTING GAME In Godot! [Complete Course]
29:00
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 5 МЛН
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
I Turned a PS4 into a Handheld Console
27:40
Restore Technique
Рет қаралды 350 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,2 МЛН
Isometric Basics in Godot 4.2 (Tilemap Setup, Stacking, Half Blocks)
9:22
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 32 МЛН