No video

three.js & rapier3D - Character Terrain Movement

  Рет қаралды 17,358

Genka

Genka

Күн бұрын

Пікірлер: 37
@lorenzomonacelli
@lorenzomonacelli 2 жыл бұрын
This was a really usefull tutorial. Quick and simple (without losing hours on details like setup of the editor)!
@brando8314
@brando8314 Жыл бұрын
Every time I hear the word 'rapier' I think of that Harvey Birdman episode
@OpisCossack
@OpisCossack Жыл бұрын
great stuff
@wanderkeule8703
@wanderkeule8703 Жыл бұрын
Very nice and useful tutorial. I was playing a bit around but had a problem with the example at 3:04 in line 80. From my understanding the world.createCollider(...) function uses a colliderType and a rigidBody, not a rigidBody.handle.🤔 But overall still a very great video with very good explanation!
@losrobbosful
@losrobbosful 2 жыл бұрын
Very inspirational video, as always. Thanks a lot :) One question though: In a previous video you showed how to use Enable3D to create 3D objects with physics quite easily. Why you chose Rapier over Enable3D for this demo? Is it the performance?
@heygenka
@heygenka 2 жыл бұрын
I wanted to try something new. Enable3D is basically a wrapper for three.js and ammo.js physics. Rapier is relatively new and it seems very userfriendly in comparison to ammo.js so I gave it a try.
@losrobbosful
@losrobbosful 2 жыл бұрын
@@heygenka Makes sense, thank you 👍
@wshacode7179
@wshacode7179 2 жыл бұрын
hello there please make a special video about virtual tour like entering a museum and walk through rooms and put hop spots to know information about the things in there , it will be so use full at all
@softwax1
@softwax1 Жыл бұрын
Thanks for the great tutorial. It was a very good inspiration for me. Is it possible to reproduce the same thing only with reac-three/rapier?🤔
@RafaelSales55
@RafaelSales55 7 ай бұрын
Thank you ! By the way, in 3:00, why you're multiplying BoxBufferGeomeTry by two?
@Cat_trot2333
@Cat_trot2333 2 жыл бұрын
nice video bro ! can you show how to create a convexMesh with the model ?
@GauravSharma-ij1ym
@GauravSharma-ij1ym 7 ай бұрын
Thanks for that great tutorial.. But the character is not colliding with static body right now, infact it is going inside the static body.. Any helps that i can get here?
@bencodes
@bencodes Жыл бұрын
This is an amazing tutorial thank you so much for sharing! I’m really struggling to figure out how to create a terrain from a GLTF file. I have buildings, a river and a bridge in a file but I have no idea how to make that .gltf file the terrain ground / make the character walk on top of it! I’d really appreciate any help, thank you!
@neiltolentinoytvlogs554
@neiltolentinoytvlogs554 Жыл бұрын
This is cool, what game engine is this?
@bydezign9441
@bydezign9441 2 жыл бұрын
Very cool, why not use a dynamic body for the player object so you can use the same collider logic?
@lorenzomonacelli
@lorenzomonacelli 2 жыл бұрын
I think it is because then the player could rotate when colliding, which is not what you usually want
@abs19971
@abs19971 Жыл бұрын
It's a very nice tutorial. Would you please tell me if l want to stop my character once object is found, what changes do l have to make in code?
@martirosyanara
@martirosyanara 8 ай бұрын
@heygenka This video and the channel in general has been really inspirational for me and I want to give some credits to it for what I have achieved by just following this tutorial and the one in another video of yours with three-nebula particle system kzbin.info/www/bejne/iJWYqIeZipepfck
@ttyu1999
@ttyu1999 7 ай бұрын
3:02 To generate physical effects, it is necessary to remove ".handle"; otherwise, the physical effects will not be produced. world.createCollider(colloderType, rigidBody.handle); ↓ world.createCollider(colloderType, rigidBody);
@subzero2971
@subzero2971 Жыл бұрын
Hi there thank you for these tutorial I have a question how can I make button on the object like car door or window when I click on car door call a function i made before ??? And thank you again ❤❤
@abs19971
@abs19971 Жыл бұрын
Hey genka,would you please add joystick in this for movement, not able to find any solution. Please help l need urgently
@HuynhLuong227
@HuynhLuong227 Жыл бұрын
i want ask you a question, why you use rapier3D then not use cannonjs?
@heygenka
@heygenka Жыл бұрын
because rapier3d was easier to learn and start with, it has some good documentation
@HuynhLuong227
@HuynhLuong227 Жыл бұрын
@@heygenka ah, very thanks for you recommened
@CigerPro
@CigerPro Жыл бұрын
Great work! Its seems rapier js not have debug renderer. Is it true?
@heygenka
@heygenka Жыл бұрын
rapier3d is a physics library without any rendering capabilities
@nipunjain1142
@nipunjain1142 2 жыл бұрын
Hi, Do you have separate detailed course on three.js?
@wolfgangouille
@wolfgangouille 2 жыл бұрын
Is this better than the bullet engine ?
@spherevsgravity
@spherevsgravity 8 ай бұрын
Is Threejs alone not enough to that purpose ?
@heygenka
@heygenka 8 ай бұрын
threejs does not have physics simulations, if that is what you mean
@spherevsgravity
@spherevsgravity 8 ай бұрын
what about octree plugin@@heygenka
@spherevsgravity
@spherevsgravity 8 ай бұрын
@heygenka look at fps_game in the threejs examples
@MrKeyKay
@MrKeyKay 2 жыл бұрын
Sehr interessant was du da baust. Können wir mal sprechen?
@MrKeyKay
@MrKeyKay 2 жыл бұрын
@genka
@martirosyanara
@martirosyanara 2 жыл бұрын
Thank you so much for sharing your code with us. I tried to reproduce it by installing the latest stable version of @dimforge/rapier3d (yours is the alpha.2) and I stumbled upon problems, the rigid bodies do not fall unless you explicitly assign a mass .setAdditionalMass(m); and then they pass through the terrain without bouncing back I tried all the methods to make them collide again without success. I would appreciate very much if you give me a hint, what to do to prevent bodies falling through the terrain. I don't get what did they change in their api in the newest version. thanks again for your work. I learnt a lot.
@misakidoma7237
@misakidoma7237 2 жыл бұрын
hello, I don't know if you read it but I had a problem that I don't know what is due to when trying the code: A module from “localhost/dashboard/test/src/index.ts” was blocked from loading due to an illegal MIME type (“”). I don't know if someone could help me or tell me what could have happened to get this error.
@martirosyanara
@martirosyanara 8 ай бұрын
@@misakidoma7237 No clue man I didn't use webpack, I used vite instead.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 19 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 2,9 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 35 МЛН
How Games Have Worked for 30 Years to Do Less Work
23:40
SimonDev
Рет қаралды 1,3 МЛН
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 849 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 704 М.
I'm Coding an Entire Physics Engine from Scratch
9:19
Gonkee
Рет қаралды 1,7 МЛН
Three.js Optimization - Best Practices and Techniques
17:47
Valentin's coding book
Рет қаралды 34 М.
I Tried Making an FPS Game in JavaScript
8:19
SimonDev
Рет қаралды 129 М.
Character controllers for Bevy Rapier
17:29
chris biscardi
Рет қаралды 7 М.
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 19 МЛН