I was guessing that that would be the way to get the scale on each instance.
When I just do
self.grsssPlacer.setScale(random()*0.2+0.1)
I don’t see any grass, and if I just remove it altogether, all the grass blades are the same height, which is not what I want.
Perhaps you can show me the correct way to write the code to randomly scale each instance.
may be the scale is too small.
How about:
self.grsssPlacer.setScale(20.0 + random()*10.0)
Great! You’re right! The scale was too small.
This is working for me.
self.grsssPlacer.setScale(random()*1.5+0.5)
I want to thank all of you very much for the help. Now I can move from this topic. Please if anyone can, please help me on my last post - ‘Single Node Manipulation on egg’. That will help me very much with my collisions. Thanks