Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
best way to integrate physics into WebGL output?

kurtmel
Registered User
Quote
2016-02-17 16:36:32

Hi Folks,
I love the WebGL output and for animated interactions, it seems like it will do fine, but is there any physics engines planned to be added specifically for WebGL output, or does anyone have an example of a general physics engine incorporated into a WebGL presentation? Since Flash is slowly going the way of the Dinosaur and Browser vendors scrapping the use of plugins all together we'll become more and more dependent on improving and optimizing WebGL as much as possible. I love the compression features and some other improvements, but the Physics engine is something I have to find out as much as possible on including/incorporating one if CC5 doesn't in WebGL or Flash. Using .exe output is a no-go for me, since I'm working on a restricted network that will block any .exe's from being downloaded, even those within zip files. But, I am finding out more on interacting with JavaScript to a script API also included in the scene file html, but still not sure if this is the right way to communicate via those API calls which are supposed to be talking to the server (Learning Management System) I'm trying to use the SCORM 1.2 learning standard to report actions taken during the game/sim, so besides the Physics Engine info, if anyone has been using CC5 to create learning games that talk via SCORM to an LMS, I would love some scripting examples of how interactions should be reported.


niko
Moderator
Quote
2016-02-19 04:34:18

It's planned, yes. But we probably have to wait for WebAssembly to be finished, since pure JavaScript is too slow for this right now.


jaimezegpi
Registered User
Quote
2016-02-29 14:08:39

this is an example of integration..

this help???

http://brainxcode.cl/develop/phy...


volt
Registered User
Quote
2016-03-17 13:58:28

Hello jaimezegpi,

That is really cool. How did you get the collision working in WebGL? I am trying to do the same type of thing with some clones but can't get it to work.


jaimezegpi
Guest
Quote
2016-03-18 21:35:09

you can download the project and see.. i write a behavior for thar.. i share in past to comunity


volt
Registered User
Quote
2016-03-24 17:15:39

Can you post the link to the project files again? I really like the example and would like to test it out.


jaimezegpi
Registered User
Quote
2016-03-24 19:02:21

Yes no problem.. first i need find the behavior... i save somewhere... i can't remember.. ha ha .. sorry i try to find in my house..


madalin
Registered User
Quote
2016-04-03 18:57:41

This is the thread, but without plugin:
http://www.ambiera.com/forum.php...

You have a plugin
OnCollisionDo
but it's not the same thing, am I right?

http://www.ambiera.com/forum.php...


falcon12
Registered User
Quote
2016-04-03 21:27:19

working demo on Firefox nightly build (https://nightly.mozilla.org/) of webassembly here :

http://webassembly.github.io/demo/AngryBots/

You must set before javascript.options.wasm option to True using about:config .


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

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