Position matching .

Can you help me?
I have ball and score ball.
Then ball goes on score ball and FULL MATCHES in position with it score ball destroys.
How can I do that?
Thank you)

Comments

  • RPRP Member Posts: 1,990
    edited August 2013
    How are you controlling the ball to match up? Is this using the accelerometer?
    There is more info needed about how the balls are matching up.
    The easy route (if the balls are the same size, or similar) is to determine if they are at the same X,Y position and when the x,y position =true then destroy score ball.

    There a few different ways you could do it, but more details about the balls and how they are controlled and being aligned would be helpful and get you a better solution.
  • pavelpavel Member Posts: 34
    edited August 2013
    Yes,Ball moves by Accelerometer and Score Ball is unmovable.
    Sizes are similar,There are two different actors and they can be in random position
    Can you write more detailed about solution?
    Thank you)
  • RPRP Member Posts: 1,990
    edited August 2013
    Here. Check this out. look into Ball 2 in the inspector and check out the associated attributes and the Rule and Behaviors inside the actor. It should give you an idea how you can just align to a position and then destroy your actor. Notice that you will want to put some variables for positioning, since a perfectly accurate player positioning will be/could be problematic.
Sign In or Register to comment.