branchsbox/worldinput2cancel

6 Commits over 0 Days - ∞cph!

3 Years Ago
Fix world panel input by changing WorldInput.Update to [Event.WorldInput.Build] called from the input system. WorldPanel.RayToLocalPosition: fix wrong local position being used for inside checks Simulate right (and middle) mouse button properly in world panel input. Iterate on WorldInput, allow multiple simulated inputs at the same time by migrating state to games Fix inverted x pos and lack of world scale awareness in WorldPanel ray to local code Use WeakReferences of WorldInputs to iterate, gives addon state full ownership and lets GC work nicely. Clear WorldInput reference list on LoopEvent.Init/Shutdown Expose and doc more on WorldInput public class; UseMouseInput allows nice usage with Input.Cursor rays Simulate ondoubleclick & onmousemove events, add WorldInput.Enabled for toggling easily, tidy and refactor UISystem a bit fix potential NREs, small optimizations.
3 Years Ago
Expose and doc more on WorldInput public class; UseMouseInput allows nice usage with Input.Cursor rays
3 Years Ago
Fix world panel input by changing WorldInput.Update to [Event.WorldInput.Build] called from the input system. WorldPanel.RayToLocalPosition: fix wrong local position being used for inside checks Simulate right (and middle) mouse button properly in world panel input. Iterate on WorldInput, allow multiple simulated inputs at the same time by migrating state to games Fix inverted x pos and lack of world scale awareness in WorldPanel ray to local code Use WeakReferences of WorldInputs to iterate, gives addon state full ownership and lets GC work nicely. Clear WorldInput reference list on LoopEvent.Init/Shutdown
3 Years Ago
Fix world panel input by changing WorldInput.Update to [Event.WorldInput.Build] called from the input system. WorldPanel.RayToLocalPosition: fix wrong local position being used for inside checks Simulate right (and middle) mouse button properly in world panel input. Iterate on WorldInput, allow multiple simulated inputs at the same time by migrating state to games Fix inverted x pos and lack of world scale awareness in WorldPanel ray to local code
3 Years Ago
Fix world panel input by changing WorldInput.Update to [Event.WorldInput.Build] called from the input system. WorldPanel.RayToLocalPosition: fix wrong local position being used for inside checks Simulate right (and middle) mouse button properly in world panel input.
3 Years Ago