0
$\begingroup$

I can get a hitpoint from UPBGE - mouse sensor - and I can get the text object matrix and localize the hitpoint - from here - how would one work out what character is moused over?

Local_point = mouse.hitObject.worldTransform.inverted() @ mouse.hitPoint

text = mouseOver.hitObject['Text']

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.