Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

🕹️ Preparing a brand new BVH-based character controller which is lightweight, flexible, and requires no physics engine. 🍻 Big thanks to Garrett Johnson for his incredible three-mesh-bvh library that made all this possible. #threejs #threejsJourney #webdev #gamedev #r3f #ecctrl

24 Kommentare

Profilbild von Bruno Simon
Bruno Simonvor 1 Jahr

@garrettkjohnson That final view with all the rooms and a good frame rate 🔥

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson Thanks, Bruno! That’s what I’m aiming for! 😄

Profilbild von VoR
VoRvor 1 Jahr

@garrettkjohnson Whats shapecst? Is that like a sphere cast you might find in unity? Is it all "casting" or are you also doing capsule intersection testing with other primitive bounding shapes like cuboids & spheres?

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson This controller uses the built-in shapecast feature from three-mesh-bvh. I actually checks for intersections between shape and BVHs. Rapier provides a shapecast more similar to Unity’s. I will upgrade it to #Ecctrl later on.

Profilbild von VoR
VoRvor 1 Jahr

@garrettkjohnson awesome. I can't wait to check out the demo & code for the bvh upgrade to the controller.

Profilbild von Jaroslav Stehlik (mystery)
Jaroslav Stehlik (mystery)vor 1 Jahr

@garrettkjohnson I am personally more interested in the controller it self. Its actually not easy to write or find a nice character controller which can move on various terrains, edges and detect correctly ground etc.

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson Thanks! For now, you could try out #ecctrl. Using similar technique but a physics-based controller.

Profilbild von James
Jamesvor 1 Jahr

@garrettkjohnson This is so cool!

Profilbild von Aurelien Vigne
Aurelien Vignevor 1 Jahr

@garrettkjohnson Impressive work 🔥🔥🔥

Profilbild von Soweme
Sowemevor 1 Jahr

@bruno_simon @garrettkjohnson Cool! 👏👏

Profilbild von Ademola
Ademolavor 1 Jahr

@garrettkjohnson Oh excited 😃! What's the performance compared to rapier?

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson Hard to compare. This controller is optimized for static collisions detection. I tested it with 1,681 map models and held a stable 60fps. Rapier isn’t built for that many trimesh colliders and would likely struggle in a similar setup.

Profilbild von Sean C
Sean Cvor 1 Jahr

@Ademola_4life @garrettkjohnson Does it work to still collide with other physics engine objects like rapier?

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@Ademola_4life @garrettkjohnson It’s possible to bind a rapier collider with the character, but in that case, I think Ecctrl would be a better choice. 🧐

Profilbild von Nestor Rios Garcia
Nestor Rios Garciavor 1 Jahr

@garrettkjohnson 👏👏👏

Profilbild von Andy
Andyvor 1 Jahr

@garrettkjohnson I had trouble with react three fiber rapier physics with ref/forwardRef for #threejs I submitted a bug report, as AI and I believe it's a problem with the physics component. Maybe it's a newbie issue as it's my 1st react.js project. Can you help?

Profilbild von Vlad Krutenyuk (kvy)
Vlad Krutenyuk (kvy)vor 1 Jahr

@garrettkjohnson is it based?

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson yup

Profilbild von Vlad Krutenyuk (kvy)
Vlad Krutenyuk (kvy)vor 1 Jahr

@garrettkjohnson is it available to try? im working on char controllers using physics. its very interesting to check alternative way

Profilbild von Andrew Chen
Andrew Chenvor 1 Jahr

@garrettkjohnson Not at the moment, but you can try out the physics-based controller here

Profilbild von Vlad Krutenyuk (kvy)
Vlad Krutenyuk (kvy)vor 1 Jahr

@garrettkjohnson its only for r3f, I work not in r3f

Profilbild von 3D Web Games
3D Web Gamesvor 1 Jahr

@garrettkjohnson Thanks for the links to ecctrl and three mesh bvh library. I have tried using rapier and the three.terrain library but havent gotten it working perfectly by using a heightmap yet. I will try these libraries.

Profilbild von Sourabh
Sourabhvor 1 Jahr

@garrettkjohnson What does bvh stand for ?

Profilbild von PowerBeatsVR
PowerBeatsVRvor 3 Jahren

VR fitness app PowerBeatsVR has just made its way to the official Meta Quest store! Grab it now and enjoy a fun workout anywhere, anytime, and without any subscription ever:

Ähnliche Videos