want to measure angle

0 favourites
  • 2 posts
  • I want to measure the angle of one object with respect to another object.

    In bouncing game when ball collide with paddle,ball should move according to the angle,which it made with paddle.I want to measure that angle..

    Bullet behavior doesn't reflect actual motion.If ball is hit at corner of paddle,ball should move at corner's angle.

    I am doubt about physics.

    Any solution?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Do you mean that collisions should act 'real' as is case with default bullet collisions, or that ball should move in relation where it hits the pad, as in awesome balls (link in my signature)?

    Option one doesn't really need anything done, option two (line from awesome balls):

    <img src="https://dl.dropbox.com/u/19921470/awesomeballs_collisions.PNG" border="0" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)