playMaker

Author Topic: Respawning Issue  (Read 185 times)

misterjuly

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Respawning Issue
« on: March 29, 2021, 01:08:24 PM »
Hello,

When my character dies and I respawn, my character does not jump right. He jumps fine normally, but I have some trampolines, that work normally, but when I respawn, my character doesn't jump as high. Would this be an issue with the set position or the activate/deactivate object action, or something else. Its a little hard to post my FSMs because there are so many of them, and they are a bit complicated. I tried reload/restart scene, and while that does work, it resets my collectibles and would not work well for checkpoints. Any help would be appreciated. Thanks!

John Bassi

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6182
    • View Profile
    • jinxtergames
Re: Respawning Issue
« Reply #1 on: March 29, 2021, 01:50:51 PM »
Hi.
Its hard to say.

Possibly some default values get changed like gravity or drag and when died while jumping they did not get reset.

misterjuly

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Respawning Issue
« Reply #2 on: April 06, 2021, 02:54:30 PM »
I think I narrowed it down to when I deactivate/activate my object, this happens. Any possible idea of where to look? Would it be the trampolines or my character or something else? Or is there an alternative to the activate object action that wouldn't have this effect? Thanks!

John Bassi

misterjuly

  • Full Member
  • ***
  • Posts: 169
    • View Profile
Re: Respawning Issue
« Reply #3 on: April 06, 2021, 03:20:26 PM »
So, I figured it out. It was the fact that my character's sprite is a child of the actual game object, so it was messing it up (weird, I know). This has messed me up several times and I really need to get around to fixing it, but it just never gets done lol.