- Home /
Prefab with a fixed position
I have an object (target) in my scene, which is placed at origin. My bullet prefab is supposed to look at it. I`m creating public Transform in my bullet prefab and then try to drag and drop my target in there. It can`t be dragged. Then I have to create a prefab for target as well.
How do I set its position to origin IN the prefab properties? Many thanks in advance!
what do you mean "I'm creating public Transform"? How do you create it?
And what does it mean "It cant be dragged"? What happens at this moment?
Your answer
![](https://koobas.hobune.stream/wayback/20220613174607im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Child object using Origin (0, 0, 0) as its forward direction 1 Answer
Rotating ray origin. 2 Answers
I would like to calculate the rotation from a generated mesh (kind of the normal but also not) 0 Answers
A little confused about scripting Raycasts 1 Answer
Isometric Raycast: misplaced origin & not updating position with TransformPoint 1 Answer