Zylann / godot_scatter_plugin

A tool to help placing lots of environment props in a scene
188 stars 31 forks source link

doesn't instance the models on the terrain [MacOs] #1

Closed ardawan closed 4 years ago

ardawan commented 5 years ago
res://addons/zylann.scatter/tools/plugin.gd:159 - Attempt to call function 'get_parent' in base 'null instance' on a null instance.
Paint scenes

is that a bug or im not following the instructions?

Zylann commented 5 years ago

It is a bug coming from both plugins:

Sorry for the very late answer, Github doesn't notify me of new issues...

Zylann commented 5 years ago

I fixed the error in this plugin in 92ffa27a37206aa9dc93c1d5567209b218c363d9 You can try with the master version of the plugin from this repo.

pwab commented 5 years ago

I'm not getting that error but it still does not instance a scene into my parent scene. It only says Paint scenes, my world-scene wants to be saved because of changes but nothing has changed at all.

Is the error on my side? (Side note: Using Godot 3.1 stable and version 1.0.1 of your plugin from the AssetStore)

Screenshot: scattering

Testproject: scattering.zip

Zylann commented 5 years ago

@pwab in your case there is nothing to paint onto. That's why nothing happens, your scene is empty (doesn't even have a floor). This plugin relies on existence of a floor with collision.

pwab commented 5 years ago

Oh thanks for the clarification. So I need a Staticbody as a ground?

Maybe there could be one or two sentences about the usage of the plugin. I barely can see the process of adding things in the provided gif. Maybe add a short numbered list with each step?

Zylann commented 5 years ago

@pwab I added details https://github.com/Zylann/godot_scatter_plugin/blob/master/README.md#how-to-use

pwab commented 5 years ago

Works perfectly now. Thanks 👍