Solved Unity move coordinate System

Ghostwalden

Invaluable member
Messages
387
Reactions
4,087
Points
123
Does anyone know how to move the coordinatesystem in Unity without moving the Object?
For this example, the coordinatesystem is way below the object and i would like to move it to the object.
In VAM i only know how to do this with a Person, but not with a CUA.
1713615238491.png
 
Solution
In Unity Editor:
  1. Create a new GameObject and move it to the position where you want the orgin to be relative to the object (the chair).
  2. Parent your object (the chair) to that new GameObject.
  3. Reset the position of the GameObject to 0/0/0.
  4. Make the GameObject a Prefab (drag&drop into Project view)
  5. Export the Prefab as part of an AssetBundle.
In Unity Editor:
  1. Create a new GameObject and move it to the position where you want the orgin to be relative to the object (the chair).
  2. Parent your object (the chair) to that new GameObject.
  3. Reset the position of the GameObject to 0/0/0.
  4. Make the GameObject a Prefab (drag&drop into Project view)
  5. Export the Prefab as part of an AssetBundle.
 
Upvote 2
Solution
And marked as Question again :LOL:

Sometimes i just don't get it.

With the Deck Chair above, this worked very well.

Now i did it exact the same way with my Turkey Leg, because i wanted to change the Grabpoint for VR.

I Created an Empty (Turkey Leg Empty)
Moved the Coordinate System to where i want it have on the object.
Then Put the Object into the Empty Object.
1713957699932.png


Now it looks like this in Unity, everything as it sould.
1713957718529.png


But in VAM, the coordinate system is still in the old position then.
1713957925664.png



Does anyone have an idea, what could be wrong here?
 
Upvote 0
Does anyone have an idea, what could be wrong here?
Forgot step 3?

The extra GameObject is just a tool to make it easier to move. What matters is that Unity's 0/0/0 will be where you place your CUA in VaM. Technicall,y after reseting the GameObjects position, you could unparent again to avoid the overhead of the extra GameObject.
 
Upvote 0
MacGruber... You are a Genius ;)

I thought this point would be automatically the Zero Point in Vam.
But now i know it has also to be on Zero in Unity first.

Thanks alot.
 
Upvote 0
Yup this is important. All this is covered in some tutorials from Mac's, VAMTastic's and me. You might find some interesting concepts you might not know :

 
Upvote 0
Yup this is important. All this is covered in some tutorials from Mac's, VAMTastic's and me. You might find some interesting concepts you might not know :

Thanks for the Guides hazmhox, will have a look at it.
 
Upvote 0
Back
Top Bottom