≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
[BUG?] mouse events in custom behaviours is globalized
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b]elmigo[/b] wrote: 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 [code] behavior_Test.prototype.onMouseEvent = function(mouseEvent, mouseWheelDelta) { print('mouse'+mouseEvent); } [/code] 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[/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