SkillAgentSearch skills...

OfxPixelHitTest

This addon uses unique color values for each interactive shape and draws them into an FBO. By using input coordinates of ( x , y ) it is then easy to correlate which item you want to interact with. Works well on UI and Objects that are scale or rotated

Install / Use

/learn @benMcChesney/OfxPixelHitTest
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Created by Ben McChesney

Feel free to use this addon however you see fit commercially or otherwise. I'd prefer if you open sourced it or at least let me know if it's useful to anyone else :D

This is a small addon used to draw shapes into a single FBO and then compares hex values from that FBO to interactive objects.

Examples

HitTest2D - Simple rectangle shapes that respond to Mouse OVER , OUT and CLICK

HitTest3D - Coming Soon

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated6mo ago
Forks2

Languages

C++

Security Score

67/100

Audited on Sep 3, 2025

No findings