Thanks Bilou84,
I guessed, that it is wrong, I just wanted to show that I tried to find a solution :)
I am currently trying to find a workaround using the DOM and THREE plugins, but still no big success (it is throwing errors:
Uncaught TypeError: Cannot read property 'mesh' of undefinedCharacterBehavior.update @ Game.ts:13Behavior.update @ components.js:24Actor.update @ SupEngine.js:36602(anonymous function) @ SupEngine.js:36932GameInstance.update @ SupEngine.js:36932GameInstance.tick @ SupEngine.js:36900Player.tick @ SupRuntime.js:1657
[object%20Object]:1 GET http://www.ubiville.de:4238/systems/game/[object%20Object] 404 (Not Found)
)
from this code:
var tmpActor: any = this.actor;
if (Sup.Input.isKeyDown("1"))
{
var tmpSprite: any = Sup.get("Assets/Skins/Adventurer", Sup.Sprite);
var texture = THREE.ImageUtils.loadTexture( tmpSprite );
var material = new THREE.MeshNormalMaterial({ map: texture });
tmpActor.__inner.threeobject.mesh.material = material;
tmpActor.__inner.threeobject.mesh.material.needsUpdate = true;
}
But I will keep on trying and hope that at some point, it will be accessible from Superpowers itself.
That it is possible,