≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Various questions of how to work with the engine.
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: You can use getTransformedBoundingBox() of each object, and use intersectsWithBox() of that with the other box, to see if there is a collision at all. If you want automatic collision detection like physics engines do with moving objects, then you need to work around this somehow, CopperLicht doesn't support something like this. AFAIK, running a real solid body physics engine in JavaScript is a bit too slow. Identifying objects with variables: You can either add any variable to any objects (like yourNode.yourVariable = "something") and that's it. It's JavaScript, and everything is dynamic. Alternatively, all nodes have names and ids. You can identify them using that. Removing from the scene: Use removeChild() from the parent node.[/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