Make Actor collide half way through another actor

RitskisRitskis Member Posts: 9
edited November -1 in Working with GS (Mac)
Hey, How would I go about making a free-moving actor (actor 1) bounce half way through an actor (actor 2) locked on the X axis. So instead of actor 1 bouncing when it reaches the top of actor 2, it bounces when it reaches half the length of actor 2? Thanks in advance for any help.

Comments

  • zombieaddictzombieaddict Member Posts: 213
    try constraining an invisible actor to actor 2 at its half way mark and make a collision rule for actor 1 to collide with the invisible actor
  • zombieaddictzombieaddict Member Posts: 213
    oh if actor 2 isnt going to be moving around then you won't have to use constrain
  • RitskisRitskis Member Posts: 9
    Sorry I wasn't very clear, Actor 2 will be moving along the X axis only. Your 1st answer sounds the best way to do it, I would of never thought of that. Thanks!!
  • zombieaddictzombieaddict Member Posts: 213
    also if you wanted to save on performance you could avoid the constrain and just have the invisible actor move at the same speed as actor 2
Sign In or Register to comment.