0 Favourites

How do I change gravity dynamically

  • I need to change the gravity constantly. When the object hit a wall I need to change the gravity of the object with platform behavior in order to keep walking like if the wall was the floor (or roof or in whatever position)

    Since using the angle of the solids doesn't work, I can't find anything that could keep track of these angle changes.

    Someone have any idea how to do this?

    Thanks!

  • I need to change the gravity constantly. When the object hit a wall I need to change the gravity of the object with platform behavior in order to keep walking like if the wall was the floor (or roof or in whatever position)

    Since using the angle of the solids doesn't work, I can't find anything that could keep track of these angle changes.

    Someone have any idea how to do this?

    Thanks!

    I made an easy example

  • > I need to change the gravity constantly. When the object hit a wall I need to change the gravity of the object with platform behavior in order to keep walking like if the wall was the floor (or roof or in whatever position)

    >

    > Since using the angle of the solids doesn't work, I can't find anything that could keep track of these angle changes.

    >

    > Someone have any idea how to do this?

    >

    > Thanks!

    >

    I made an easy example

    Thanks man you are the best. So simple to do it and I was creating such a retard and buggy way to do it lol.

  • Thanks man you are the best. So simple to do it and I was creating such a retard and buggy way to do it lol.

    You are welcome

  • >

    > Thanks man you are the best. So simple to do it and I was creating such a retard and buggy way to do it lol.

    >

    You are welcome

    Thanks! Are there anyway to bind the player with the platform? So it wouldn't matter which is the platform position, player would be always sticked to it

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • >

    > >

    > > Thanks man you are the best. So simple to do it and I was creating such a retard and buggy way to do it lol.

    > >

    >

    > You are welcome

    >

    Thanks! Are there anyway to bind the player with the platform? So it wouldn't matter which is the platform position, player would be always sticked to it

    like this?

  • Ribis

    It's a powerup. When the ball hit the ground, it starts going straight ahead until hit the target.

    It's more like this.

    [attachment=0:2z7urtlb][/attachment:2z7urtlb]

    edit: Imagine that this is a ball lol

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