Jump to content

Babylonjs and Angularjs


spritefire
 Share

Recommended Posts

Hey guys,

Has anyone used babylonjs along with angularjs?
I haven't come across any documentation for it, I did come across some for threejs and would assume its done a similar way. 

Their url is a bit NSFW :/
http://twofuckingdevelopers.com/2014/02/mixing-angularjs-threejs/

Just curious if anyone has done it before and if they came across any issues.

Cheers :)
 

Link to comment
Share on other sites

Thanks :) 
I had two other controllers in different parallel scopes affecting a nested function within the canvas controller which was using babylon as a directive and couldn't get them firing the functions correctly and noticed you had used $rootscope so I applied that and working great now. 
Not sure if it's the best way but couldn't see any other way to do it. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...