playMaker

Author Topic: cross-object Collision Event / Store Force weirdness  (Read 689 times)

curb47

  • Sr. Member
  • ****
  • Posts: 256
cross-object Collision Event / Store Force weirdness
« on: November 18, 2020, 01:33:29 AM »
Hello,

I'm currently cleaning up my project and have decided to jiggle some FSMs around to make a more manageable/cleaner hierarchy. I've encountered this weird thing:

In the original set-up I have the 'health FSM' on the player spaceship, which is rigid body/colliders etc, and upon a collision I use the Store Force on the Collision Event action to calculate how much damage is done to the spaceship, depending how fast you collide with something:



However, when I move the FSM onto a separate Object, a Health Management Object, the Collision Event doesn't register the Store Force float:



I've got it set up correctly, and the other systems in the Health Management work fine, it's just the Store Force. Anyone know why this is, or what I'm doing wrong?

Thanks.

J.
 

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: cross-object Collision Event / Store Force weirdness
« Reply #1 on: November 18, 2020, 10:29:09 AM »
Hi.
If you copy pasted it, try Making the state and actions from scratch.

curb47

  • Sr. Member
  • ****
  • Posts: 256
Re: cross-object Collision Event / Store Force weirdness
« Reply #2 on: November 18, 2020, 03:50:50 PM »
Hi Djaydino,

Yes, I copy/pasted. I'll try your suggestion.

Thanks.

J.