Demystifying Animation Groups

  Рет қаралды 7,673

Babylon js

Babylon js

Күн бұрын

Пікірлер: 29
@valentinpichard4058
@valentinpichard4058 4 жыл бұрын
With all those canons everywhere, I wouldn't dare attack this Pirate Fort !!!
@McWickyyyy
@McWickyyyy 3 жыл бұрын
This video is really helpful and I love your energy. You have a very similar programming style to me so very easy to follow Thankyou!
@DavidFitzgibbon
@DavidFitzgibbon 4 жыл бұрын
This was great Jason, thanks! Content I'd love to see is on file management. I love the sandbox, but where can I save my work and be able to find it later without remembering the url? If i have a large project locally, can I import it to make use of the sandbox? Or even how would you work on a large, multi-file project?
@Spikey8d
@Spikey8d 3 жыл бұрын
This is perfect for what I was trying to work out! Thanks.
@arielgimenez_95
@arielgimenez_95 4 жыл бұрын
HELLO you could do a tutorial doing a comparison of babylon.js with unity3D I would like to be shown. What is the ready function in babylon.js? what is the update function in babylon.js? what is the physicsUpdate function in babylon.js? how to handle events for example when a body enters? manage nodes by groups. search nodes in the scene. create a timer or handle coroutines for example to trigger how to develop a project using object oriented programming? There are rigid, static, kinematic bodies in babylon.js? special functions for rigid bodies? special functions for kinematic bodies? differences between unity and babylon in a project. I hope you can answer some of these questions and I have several more ... Greetings.
@gregohnoes
@gregohnoes 16 күн бұрын
could you create a metadata prop with the animation group name on the canon mesh instead of a mapping?
@olivierarguimbau6537
@olivierarguimbau6537 8 ай бұрын
Cool
3 жыл бұрын
That logo animation always reminds me of the gamecube
@gergelysanta4239
@gergelysanta4239 4 жыл бұрын
My content idea: how to use two separate models together with animation. E.g cyclists hops onto a bike and rides it ( where the bike and cyclist are two separate gltf models)
@jamesjosephsewell1094
@jamesjosephsewell1094 4 жыл бұрын
why not just create a cannon class and make instances of it?
@BabylonJSEngine
@BabylonJSEngine 4 жыл бұрын
That's absolutely a viable option as well! Main reason I went this way is to show the cloning capabilities as well as the ability to rip apart animation groups and reuse the animations inside of them. But going the class route is definitely a solid alternative method!
@gergelysanta4239
@gergelysanta4239 4 жыл бұрын
I love this video!
@aryanattitude
@aryanattitude 3 жыл бұрын
This is cool Jason ! Have a quick question, why don't we add cannonAnimationGroupClone as a property to cannonClone itself ? And access it on mesh (cannon) click like topParent.animationGroup.play(); This will save looping through scene animationGroups on every click. Thoughts?
@BabylonJSEngine
@BabylonJSEngine 3 жыл бұрын
Yes! This is totally doable! An excellent suggestion! There are so many different ways to accomplish something. We often present ones that we perceive as the easiest to teach, which are not necessarily the most efficient. So excellent suggestion! This would definitely work!
@bangonkali
@bangonkali 4 жыл бұрын
Another awesome content! Thanks guys. 75? That escalated quickly 😅
@BabylonJSEngine
@BabylonJSEngine 4 жыл бұрын
LOL yeah it did!!!
@DerPylz
@DerPylz 4 жыл бұрын
Super cool tutorial! Do you play Sea of Thieves, by any chance? :D
@BabylonJSEngine
@BabylonJSEngine 4 жыл бұрын
Oh yeah! Pirate Legend for the win!!!!!
@DerPylz
@DerPylz 4 жыл бұрын
@@BabylonJSEngine Awesome, I'm still on my way towards pirate legend. See you on the seas!
@GarronArgentina
@GarronArgentina 4 жыл бұрын
How to make a Animation Groups loop?
@BabylonJSEngine
@BabylonJSEngine 4 жыл бұрын
Any animation can be set to loop...You can find more info and examples here: doc.babylonjs.com/babylon101/animations#basic-animation
@GarronArgentina
@GarronArgentina 4 жыл бұрын
@@BabylonJSEngine I check it out. I just have to pass true as parameter
@j.c6427
@j.c6427 4 жыл бұрын
👍
@jokybones
@jokybones 4 жыл бұрын
I hope he played Assasins creed Black Flag maybe the best Pirate game out there
@forloveofpirates
@forloveofpirates 4 жыл бұрын
AMAZING game! Simply the best Pirate Game!
@jokybones
@jokybones 4 жыл бұрын
@@forloveofpirates Aye!
@abhisekhbiswas4350
@abhisekhbiswas4350 3 жыл бұрын
question: in line 80, if we have: cannonAnimationPairings[cannonClone.name] = cannonAnimGroupClone; instead of: cannonAnimationPairings[cannonClone.name] = cannonAnimGroupClone.name; Then we wont have to iterate through all animations to search correct animation. And so we can discard for loop at line 97. And just have : animationToPlay.play(); Is there any specific reason why you did not do this?
@BabylonJSEngine
@BabylonJSEngine 3 жыл бұрын
Nope no reason, just a different way of doing it. Your way works great too! That's one of the fun things about Babylon.js...there's usually multiple ways to accomplish something.
@abhisekhbiswas4350
@abhisekhbiswas4350 3 жыл бұрын
@@BabylonJSEngine cool
How It Works - Skeletons!
18:03
Babylon js
Рет қаралды 9 М.
Fun with Instances
9:05
Babylon js
Рет қаралды 5 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,9 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 40 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,4 МЛН
Picking Meshes with Rays!
6:43
Babylon js
Рет қаралды 5 М.
17. Character Animations in BabylonJS
22:58
Code-Small
Рет қаралды 10 М.
The Power of Morph Targets
10:44
Babylon js
Рет қаралды 4,4 М.
Image-Based Lighting: The Easy Way
10:59
Babylon js
Рет қаралды 7 М.
Havok Physics - Bitbybit For BabylonJS Developers
27:27
Bit By Bit Developers
Рет қаралды 712
Interactive Hex Tiles: Part 1 - Using Asset Containers
9:31
Babylon js
Рет қаралды 5 М.
10. First Person Controller in BabylonJS
15:59
Code-Small
Рет қаралды 9 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,9 МЛН