three.js - How to get Physijs and Threejs to work together with tQuery -
Good evening,
I recently changed three JS from EaselJS, it's amazing!
I have tried to include a physical engine named Physiz and used it with tQuery, but it is not working.
Head:
& lt ;! - Physics Engine - & gt; & Lt; Script type = "text / javascript" src = "lib / tquery-bundle-require.js" & gt; & Lt; / Script & gt; & Lt ;! - & lt; Script type = "text / javascript" src = "lib / ammo.js" & gt; & Lt; / Script & gt; - & gt; & Lt; Script type = "text / javascript" src = "lib / physi.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "lib / tquery.physi.js" & gt; & Lt; / Script & gt; & Lt ;! - Games and Gymkor namespace - & gt; & Lt; Script type = "text / javascript" src = "js / game.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "js / game.static.js" & gt; & Lt; / Script & gt; Physiz Version: Latest Form Geethb Threads Edition 59 (included in tactics) tquery.physi.js Version: Unknown, caught by the source code of the tutorial, it can not be found anywhere Else) called the init function When the page has finished loading:
var world = tQuery.createWorld (). Boilerplate ({cameraControls: false}). ; World.tCamera (). Position.set (70, 40, 70); World.tCamera (). Look (world.tScene (.)); World.tvenderer () ShadowMapEnabled = true; World.tvenderer () ShadowMapSoft = true; World.trenderer () setClearColorHex (0xffffff, 1); World.enablePhysics (); Error given by firebug:
type error: world.enablePhysics function function is not. Capable fessix (); Do anyone know what I can do to fix this problem? Feel free to talk about the option too! :) Thank you!
I think that died, because the final commitment is July 25, 2013. So you have to work without further work. It seems like.
Comments
Post a Comment