Urs Holzer wrote:
> I have a hotspot and a handle that overlap. It seems that the hotspot
> takes precedence over the handle. Is there a way to tell pipmak that
> the handle should take precedence? I.e. I want to implement a moveable
> lever that unfortunately lies within the area of a hotspot. (Yes I
> could modify the hotspot so that it does not intersect with the handle,
> but I really don't want to do that.)
Right now there is no possibility to place handles on top of hotspots.
This was done for (unmeasured) efficiency reasons, since checking for
hotspots is cheaper than checking for handles. However, I assume it
doesn't actually gain us much since usually most areas are not covered
by hotspots and need to be tested for handles anyway.
I suppose the proper thing to do would be to test for both hotspots and
handles everywhere and use whichever was defined last in node.lua.
Something for version 0.2.8, unless someone implements it before I get
around to releasing 0.2.7.
You may have noticed that I had the same problem with the lever in the
demo project and just worked around it by making the hotspot smaller.
-Christian
|