1
Ask a Question / Sharply pushing things away (for Angry Blosics)
« on: November 25, 2021, 09:18:58 pm »
I made a modification (read: duplicate) of Max Marin's "radial gravity"[1] behavior, so that instead of gently pulling* things towards the actor, it sharply pulls* things. The "sharp radial gravity" behavior is made for things like explosions.
The sharp behavior works as normal, although sometimes, with negative force values, it seems to be pulling things instead of pushing them!
Any help is greatly appreciated!
*: The behaviors will push things away if the "Force" attribute is set to a negative number.
[1]: https://community.stencyl.com/index.php/index.php?topic=61547.msg316777#msg316777
The sharp behavior works as normal, although sometimes, with negative force values, it seems to be pulling things instead of pushing them!
Any help is greatly appreciated!

*: The behaviors will push things away if the "Force" attribute is set to a negative number.
[1]: https://community.stencyl.com/index.php/index.php?topic=61547.msg316777#msg316777