Make an Actors rotation affected by Gravity

CircleBoxStudiosCircleBoxStudios Member Posts: 22
edited February 2014 in Working with GS (Mac)
I am just stumped on this one. I have tried a plethora of methods to try and get this to happen, but nothing has worked so far. Can't seem to find any threads on it either, so wondering if anyone has a solution.

Basically I need the actors rotation to be affected by gravity. Say you were riding a motorcycle. When you do a wheely you go up and you come back down flat because of gravity. Same with the back side of the bike. I am essentially trying to get that to happen. Any ideas on how to accomplish that?

Comments

  • FlamingbananaFlamingbanana Member, PRO Posts: 90
    Hey @CircleBoxStudios

    You could probably use the rotate to position behavior. Just set the Y offset to something negative like -100 then set it to relative to the actor. Then you can play with the offset to get it to rotate to exactally the right angle

    Hope that helps. But if you need more detail go ahead and ask,
    Tad
  • CircleBoxStudiosCircleBoxStudios Member Posts: 22
    @FlamingBanana

    Thanks for the assistance. I still couldn't get it to work though. Something I should have mentioned is I have the actors rotation constrained to a global attribute. So I'm trying to come up with a method to reduce the global attribute to level him out. I tried interpolate, but it didn't quite work.
  • 3itg3itg Member, PRO Posts: 382
    Try a boolean, and an alternate value.
    When its true, use the alternate value.
    Otherwise Interpolate from alternate to normal.
  • CircleBoxStudiosCircleBoxStudios Member Posts: 22
    @3itg Yea I had tried something like that with the interpolate tries and I think I got it working for the most part. Had to make a few extra additions was all.

    Thanks.
Sign In or Register to comment.