UnrealEngine Example to use glTFRuntime plugin using USceneComponent
Sample project to show how to load glTF models at runtime in C++.
Please refer explanation of my blog post:
https://lazydevkit.blogspot.com/2023/02/how-to-load-gltf-models-at-runtime-in-c.html
Unreal Engine version: 4.27 or 5.0
- for 4.27, changed glTFRuntimeParserStaticMeshes.cpp 499 line to 492 line.
If you want to load glTF Samples from 'https://github.com/KhronosGroup/glTF-Sample-Models',
Replace models url as below.
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master + /2.0/BoxAnimated/glTF-Binary/BoxAnimated.glb