Details

Last Updated
8 months ago
First Uploaded
8 months ago
Downloads
6.2K
Likes
0
Size
105KB
Dependency string
Starbox614-OmniGravity-3.0.2
Dependants

Categories

OmniGravity

You can use this as a standalone mod, or as a library for your own creations.

The config can be used to adjust the default direction of gravity for all objects.

Please report bugs on the Bopl Battle Modding Discord server, except for:

Known bugs (don't report these)

  • Falling animations are broken when gravity is not straight up or down.
  • Macho animation is broken in upside-down gravity when you fall (there's a config for this).
  • Platforms always go down in sudden death (intended)
  • Water is still at the bottom (intended)

Important bugs (please report if found)

  • Anything not being effected by custom gravity settings
  • Crashes or Freezes

Documentation (if you want to use as a library)

  • The entire mod is contained in the class OmniGravityPlugin
  • The default gravity direction is Vector2 OmniGravityPlugin.default_grav

BoplBody

  • Vector2 grav_dir : direction of gravity (should be normalized)
  • bool grav_enabled : whether a BoplBody is affected by gravity
  • float grav_scale : a factor of the strength of gravity

PlayerBody

  • Vector2 grav_dir : direction of gravity (should be normalized)

speedContainer

  • Vector2 grav_dir : used for the falling animations (broken)
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.