Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Detecting multiple collision forces

Discussion in 'Physics' started by fonseca_unity, Jan 28, 2020.

  1. fonseca_unity

    fonseca_unity

    Joined:
    Nov 12, 2018
    Posts:
    3
    I am having trouble finding a way to accomplish my goal.

    I am using Leap Motion hand tracking, and i am rolling a ball around in my head. There are colliders for each bone in the hand model.

    What I wish to do is detect how hard the ball is pushing down on each bone it is colliding with.

    For instance, lets say that we have a scale of 1-10 to determine how hard the ball is pushing against a point. If the ball is right on top of my middle finger, but also resting on my index and ring finger, I would like information of this sort:

    index finger: 6
    middle finger: 10
    ring finger: 6

    My first thought was just finding the difference in the x-axis so that I can see if the ball is pushing directly down on a joint or not.

    But this won't work because I may also want to find it if the ball is traveling at different trajectories.

    Thanks for taking the time, I hope this made sense!