edited July 2021 in General Support
imgur.com/a/7eAEFA3

Any idea why the spawn point moves inside/ontop of a tilemap collider 2d at runetime?
Post edited by HAJFAJV on
  • edited July 2021
    "Place on ground" is checked on by default. So it falls in whatever direction gravity is pulling in unity project settings. -y by default.
    Post edited by Wrofir on
    Miuratale : coming 2024
    Miuratale
  • edited July 2021
    So if I gave it a rigidbody 2d and set it to static it wouldn't move? Thought I tried that but then removed it because I didn't want to add unnecessary things to ork.

    I have now done what Wrofir suggested and it works perfectly. I'm not sure why physics affects the spawn point to begin with but it totally works, thanks!
    Post edited by HAJFAJV on
  • Place On Ground isn't really physics related, it'll place the spawn point based on a position that was hit by a raycast.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.