ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperCube > Feature requests and bug reports
[BUG?] mouse events in custom behaviours is globalized
Author Text

Registered User
2018-12-24 15:18:20

when i using built-in behaviour "when clicked do someting" then event triggered when i click on object

when i using my own behaviour like this

behavior_Test.prototype.onMouseEvent = function(mouseEvent, mouseWheelDelta)

all types of events (move,clicks,wheel) triggered always. indepeded i click this object or something else

objects with attached events handlers must get events if event occures for this object only not for whole scene

if i will needed global handler then i will attach behaviour to root

Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "Internati?nal" (you are not logged in)




Forum Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.