instance - Panda3D's setInstanceCount(n) with Python -
I have been looking for answers for about 2 days and I could not find anything. I am creating a game with Panda 3D engine and Python, and I want to see the floor as a tile, so I was loading the 'grass' model as often as I needed it. When I play the game, however, it really feels really slow.
I found the article that explained how Tried to change instanceTo () with How do I get it? Apart from this, how can I direct the statistics of each model, say, to determine coordination? Thanks in advance. Try using the original setInstanceCount (n) worked, but I did not get an example to use it
setInstanceCount (n) to other programs, but how to identify those models, which were copied. It seems that it is working.
dancer = actor Loop ("kick") dancer for the author ("chorus-line-dancer .egg", {"kick": "kick.eg"}} dancer range (50) .custom (0,0,0): Placeholder = Render. Etatnin Node ("Dancer-Placeholder") Placeholder .SetPos (i * 5, 0, 0) Dancer. SetInstanceCount (5) #Orralional: Dancer.Spotholder
instanceTo () instead. This is used for animation instances, while
setInstanceTo is used to render and set geometric examples.
Comments
Post a Comment