playMaker

Author Topic: attachedRigidBody.UseGravity is acting as loop everyframe  (Read 507 times)

blackant

  • Sr. Member
  • ****
  • Posts: 295
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
attachedRigidBody.UseGravity is acting as loop everyframe
« on: August 30, 2016, 02:10:02 AM »
Hello,

i don't know if it's a bug or if i missed something in that step.

i just made an action to swap gravity of character controller for my player when i want him to fly a bit.
 but as you can see on the attached screen, the action still waiting here, acting like if everyframe was checked., so it never goes to FINISHED transition, and looks everything here.


by the way, i don't know if someone can help me about the flying system of my game.
it's a platform character, without jump, and with attached objects, like jetpack, i want the player being able to impulse the player heigher and fall if he doesn't push the button.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: attachedRigidBody.UseGravity is acting as loop everyframe
« Reply #1 on: August 30, 2016, 03:34:51 AM »
Hi,

 odd indeed, and you have no errors logged in Unity or PlayMaker?

 Right now, I would force finish transition with a "Send Event" that will work. But the SetProperty action indeed does have a finish() call if everyframe is not checked, so it's very odd.

 Bye,

 Jean

blackant

  • Sr. Member
  • ****
  • Posts: 295
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Re: attachedRigidBody.UseGravity is acting as loop everyframe
« Reply #2 on: August 30, 2016, 05:48:52 AM »
i have no error and i tested many differents tricks and this looks doing nothing,

get Rigidbody.UseGravity return always false and set it does nothing..
many things like that

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: attachedRigidBody.UseGravity is acting as loop everyframe
« Reply #3 on: August 31, 2016, 01:11:04 AM »
Hi,

 ok, I'll try to reproduce this, what version of Unity, PlayMaker and where did you get this character controller from?

 Bye,

 Jean

blackant

  • Sr. Member
  • ****
  • Posts: 295
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Re: attachedRigidBody.UseGravity is acting as loop everyframe
« Reply #4 on: September 01, 2016, 02:43:26 AM »
i'm on Unity 5 and i have no idea were this character controller comes from...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: attachedRigidBody.UseGravity is acting as loop everyframe
« Reply #5 on: September 01, 2016, 10:34:44 PM »
Hi,

 Can you specify exactly which version of Unity 5? thanks. Did you not create the scene yourself? Maybe you are using a framework for controlling your character?

Bye,

 Jean