Coliding and bouncing off in another direction?

gpoppigpoppi Member, PRO Posts: 47
edited November -1 in Working with GS (Mac)
hi how can i manage to get an object collide against another object and the bounce off in another direction?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    create a rule that says when object 1 collides with object 2

    -change attribute
    -self.angular velocity to whatever angle you want.

    put this in which ever object you want to bounce

    you should also check the physics (restitution (which means bounciness), moveable, etc.)
  • gpoppigpoppi Member, PRO Posts: 47
    yes but id like it to actually divert itself in another direction not only bounce off , is it possible?
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    instead of the change attribute behavior drag a velocity behavior in and set the speed and angle to whatever you want
Sign In or Register to comment.