Search Unity

Clone Transforms without being instantiated

Discussion in 'Scripting' started by jdelaay025, Feb 9, 2016.

  1. jdelaay025

    jdelaay025

    Joined:
    Jun 12, 2015
    Posts:
    5
    My game has a new bug. It spawn a clone transform of one of my characters and places it at 0, 0, 0 but with no actual gameObject actually being placed there. Just a red outlined circle collider. I'll post the code, but keep in mind, no script is on my character that would instantiate a new copy of itself or anything like that. I haven't used anything to convert its current transform into world space because that would set it at 0, 0, 0 since it's in an empty gameObject along with its cameraRig. I will post the video along with this to show the glitch.

    Here is an example of the issue