HungryProton / scatter

Godot engine addon to randomly fill an area with props or other scenes
MIT License
2.08k stars 94 forks source link

scale is wrong #203

Open yythlj opened 2 months ago

yythlj commented 2 months ago

image image image image I only use the default protonscatter add a node to my scene

which has a child node hterrain with map_scale 10 but the parent node nature_map is scale 1

yythlj commented 2 months ago

godot 4.3.beta2 master branch

yythlj commented 2 months ago

It seem the problem only occur on create instancing when i select to create copies it be ok

yythlj commented 2 months ago

and if I has no check on "Force rebuild on load", the item will not create on game playing

HungryProton commented 2 months ago

By default scatter will ignore the custom scale you've set in your source scene, unless you disable the option on the scatter item node, under Source options:

image

yythlj commented 2 months ago

my sourcwle snene is scale 1, and the plugin I have no change also is scale 1

but behave is wrong,use create copies will be right

---Original--- From: @.> Date: Sat, Jul 13, 2024 19:12 PM To: @.>; Cc: @.**@.>; Subject: Re: [HungryProton/scatter] scale is wrong (Issue #203)

By default scatter will ignore the custom scale you've set in your source scene, unless you disable the option on the scatter item node, under Source options:

image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HungryProton commented 2 months ago

Have you turned off Ignore scale ? It's probably the mesh instance itself that have a different scale, not the root of the tree scene.

yythlj commented 2 months ago

you mean the scale on blender? the scene file only have one node, which is a imported glb node

and glb node and scene node both has no change scale on godot, they show scale 1

---Original--- From: @.> Date: Sat, Jul 13, 2024 19:16 PM To: @.>; Cc: @.**@.>; Subject: Re: [HungryProton/scatter] scale is wrong (Issue #203)

Have you turned off Ignore scale ? It's probably the mesh instance itself that have a different scale, not the root of the tree scene.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HungryProton commented 2 months ago

This checkbox image

yythlj commented 2 months ago

it is check on by default and the scale multipler is set 1 by default. I have do no change

---Original--- From: @.> Date: Sat, Jul 13, 2024 19:19 PM To: @.>; Cc: @.**@.>; Subject: Re: [HungryProton/scatter] scale is wrong (Issue #203)

This checkbox image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HungryProton commented 2 months ago

Well yes, but I'm asking you to turn it off and see if it solves the issue. Models found online often have weird scaling (and in that case, it might be inside the sketchfab_scene that something has a scale different than one, it's hard to tell with screenshots only)