Thats too many fingers..

smurftedsmurfted Member, PRO Posts: 570

Hello again.

Is there an easy way for me to tell if an actor is being touched by more than one finger?

Comments

  • ArmellineArmelline Member, PRO Posts: 5,327

    Easy? No. You can tell how many touches are active, and you can tell if any of those touches are on the actor. But you can't easily tell how many are.

    If your actor is circular, you can use magnitude to easily find out if each touch is inside it, but that's 11 checks you've potentially got to make. If it's not circular, you can still figure it out based on X and Y position and Width and Height, but it's still going to be potentially 11 checks needed.

    Perhaps outline a bit more of the circumstances?

Sign In or Register to comment.