Hey everyone,
I have a weird little problem going on. The rotation I set in the Instantiate() function doesn’t get applied to the object properly. Here’s the code I’m using:
var newBackpack = Instantiate(backpack1, backpackPlacement.position, backpackPlacement.rotation);
//The rotation seems off, so I'm using this Debug.Log() to figure out if it's in the model or the object's rotation
Debug.Log(backpackPlacement.rotation + " - " + backpack1.transform.rotation);
The Debug.Log() returns something I didn’t expect: (-0.2, 0.3, 0.7, -0.7) - (0.0, 0.0, 0.0, 1.0).
Am I missing something obvious here? Does it matter that the backpackPlacement is the Transform of a Bone (Joint?)?
Thanks in advance,
Patrick