playMaker

Author Topic: Add Force Action wierd behaviour  (Read 349 times)

artistpm

  • Playmaker Newbie
  • *
  • Posts: 5
Add Force Action wierd behaviour
« on: June 28, 2022, 07:46:27 AM »
I am facing some kind of weird behavior of AddForce Action.

When I create a new GameObject using by Create New Game Object Action and I add force to it, the force takes effect on the given GameObject's local rotation's z axis -as I expect.

When I create a GameObject, put into a container (into an empty GameObject as a child) and make its active property to false; later I make it active (SetActive(true)) and AddForce to the given GameObject, the force always takes effect on the GameObject's global rotation's z axis.

The space property doesn't count. Also, doesn't count when I set it into hierarchy root (make it parent-less).

Is it a bug?