Ideefixze / DTerrain

Destructible terrain in Unity
MIT License
412 stars 53 forks source link

Tutorial needed #7

Open Brojasko opened 6 months ago

Brojasko commented 6 months ago

Hey, nice plugin. It's working really great on paper. I'm a beginner game dev and I wanted to use it to speed up the process of making my game. However, I don't know how exactly can I implement it. I looked at the example scenes, copied GameObjects from there and pasted them onto my scene with some texture changes. The generated texture with set matching parameters is smaller with about 0,666667 scale. Position is also different from other GameObjects on scene. I'm just sad I'm too dumb to properly use this plugin.

oelsons commented 6 months ago

About the scale: You might want to check if the "Pixels Per Unit" on your texture matches the PPU on "BasicPaintableLayer" script.

image image

*I'm having to do a lot of digging to get it to do what I want too :)

Brojasko commented 6 months ago

As I remember, even after setting this it doesn't give you the same size of spawned texture compared to what you get with spawned normal SpriteRenderer texture. How can I have the same sizes of them?