playMaker

Author Topic: Self space don't move as expected [SOLVED]  (Read 1881 times)

Harvid

  • Playmaker Newbie
  • *
  • Posts: 23
Self space don't move as expected [SOLVED]
« on: May 06, 2015, 04:21:59 PM »
Simpel test
Rotate cube 45 degree, set "self" position.
I didn't expect it to move the cube straight down, but in the 45 degrees the cube was rotated
Dont self work like local in other 3d programs ?
« Last Edit: May 06, 2015, 05:03:28 PM by Harvid »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Self space don't move as expected
« Reply #1 on: May 06, 2015, 04:35:03 PM »
The GameObject doesn't have a parent, so self space is the same thing as world space.

This is unique though, because you are using Set Position. If you were to use, say, some Inputs and move them on a particular axis in self space then it would behave as you expect. However, set position is literally modifying the position and it happens to appear to work in world space because it does not have a reference of position that is actually different from world space.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Harvid

  • Playmaker Newbie
  • *
  • Posts: 23
Re: Self space don't move as expected [SOLVED]
« Reply #2 on: May 06, 2015, 05:04:51 PM »
Thank you Lane