Can I set two different gravity ?

RulezTeam

  • *
  • Posts: 296
Hi,

can I set two different value of gravity, or set to a specific actor its gravity ?

Thank you

merrak

  • *
  • Posts: 2261
You can implement gravity manually instead of using the scene. Each engine tick (in an always event) add

G / (step size * step size )

to the actor's y velocity, where G is your chosen gravity.