Replace texture dynamically

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

Posts: 2
Joined: Sun Feb 10, 2013 4:59 pm

Replace texture dynamically

Postby lolb » Sun Feb 10, 2013 5:28 pm


I want to use the script given at "" to replace textures dynamically. The problem is that it works fine for a single object. But when you want to use several at once, such as replacing the texture of a plane, then replace the texture of another plane with another texture, it does not work! There is the last named is taken into account? I think it is because the command "logic.texture.refresh" which does not work that at the end of the script?

Do you have a solution please?

Thank you

Return to “Interactive 3d”

Who is online

Users browsing this forum: No registered users and 0 guests