playMaker

Author Topic: Set position and set rotation (world and self)  (Read 1783 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Set position and set rotation (world and self)
« on: December 18, 2014, 05:27:16 PM »
Is there a reason why 'set position' defaults to self mode while 'set rotation' defaults to world????????  If not, could they both bet set to self or both to world?  I'd prefer world myself. 

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Set position and set rotation (world and self)
« Reply #1 on: December 18, 2014, 09:04:28 PM »
Not sure if that was done for a reason but it's super easy to fix if it bugs you that much.

- Right click on the Set Position action and edit script
- Change line 40
Code: [Select]
space = Space.Self; to
Code: [Select]
space = Space.World;- Save and have a nice day :)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Set position and set rotation (world and self)
« Reply #2 on: December 18, 2014, 11:17:40 PM »
Hey that's cool.  I just set it to world so now both are set to world. That kept messing me up with one on world and one on self.

thanks