Can't data bind the value of a converter
Hi,
I try to reproduce a simple hitbox system thanks to data binding feature.
I have a static layer “Character” and a layer “Obstacle” that is inside a group “FG”.
FG moves right to left to represents scrolling and Obstacle moves with it without changing its value.
GOAL :
I want that once Obstacle hits Character, this last one turns to red.
SITUATION :
So, I have 3 Datas :
FG X (returning the x position of my group “FG”, containing my layer “Obstacle”)
Character X (returning the x position value of my layer “Character”)
Obstacle X (returning the x position value of my layer “Obstacle” + Add FG X Converter)
My Converter Add FG X basicly add FG X value.
My idea was to add FG X to Obstacle X to compensate the offset of Obstacle coordinates because it’s inside a group.
PROBLEM :
The converter never updates its value and simply returning the default value that I give.
Dis I miss something about this feature?
My file is just right here.
Thanks a lot to the one who find the solution.
skateboarding_minigame.rev