How to scale a model #8438
-
This seems like it should be really simple, but I'm having trouble finding any way of going about it. I'm trying to replace my character (currently a cylinder) with a more sensible model, so I grabbed the fox example from the GLTF examples, but it's very small. I was looking for a way to simply make it 100x bigger in all dimensions, but wasn't able to. I tried setting the I asked this question on Reddit, and was suggested to edit the file in blender, but this isn't suitable for my use case since I also would like to be able to dynamically change the size of the model based on game logic. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How are you changing the scale of the scene bundle? It should work as you describe it. If you set something like |
Beta Was this translation helpful? Give feedback.
How are you changing the scale of the scene bundle? It should work as you describe it. If you set something like
transform: Transform::from_scale(Vec::splat(100.0))
it should work.