≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Switch scene AND externally load mesh
Posted by:
(you are not logged in)
Enter the missing letter in: "Internat?onal"
(you are not logged in)
Text:
[quote][b][/b] wrote: I figured that the action "gotoSceneByName" isn't working at all. Here is the script executed by a button ("when clicked do something"): ------------------------------ var engine = new CL3D.CopperLicht('3darea'); { engine.gotoSceneByName("OnlyThePlayer"); } ------------------------------ It definitely runs the script - but nothing happens. It doesn't even show a error in the JavaScript console.. The rest of the new script works fine (no JS-errors) and the mesh is loaded (plus texture): ------------------------------ var engine = new CL3D.CopperLicht('3darea'); { engine.load('copperlichtdata/mesh1.ccbjs'); engine.getTextureManager().getCountOfTexturesToLoad(); engine.ingComplete = function() { alert("loading completed") }; } ------------------------------ So why would the gotoScenebyName-method not work? Thx KK[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact