# Spawn at location

**URL:** <https://forums.unrealengine.com/t/spawn-at-location/467916>\
**Category:** Character & Animation\
**Tags:** expose-on-spawn, socket-reference, spawn-rate, unreal-engine, question\
**Created:** [July 9, 2020, 2:30pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916 "2020-07-09T14:30:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [July 9, 2020, 2:30pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916/1 "2020-07-09T14:30:41Z")

</div>

I am trying for a tps by following some tutorials and created sockets but when i try to attach gun to that socket they are going somewhere else i didn’t understand why is this happen. Please let me know where i made mistake

here is my project - [link text][1]

 ![306664-rtsactor.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/f/f0f3c6ec11e42dca59333cdd65352c25b14f0db5.png)

![306665-rtsworld.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/4/a74cdb6954ef57bab8d09cfba298f5c9d9b9c5e6.png)

 ![306666-preview.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/2/492a77471b35816a7d01add45525afcb0c557606.jpeg)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 9, 2020, 2:48pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916/2 "2020-07-09T14:48:44Z")

</div>

Two main things:

1. You have to spawn the gun at the world transform of the socket

2. The gun needs to have no transform itself. IE, the pivot point of the mesh ( or blueprint ) needs to be where you are thinking it will connect to the socket.

---

<div class="post-metadata">

**Author:** ![Rag1804](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rag1804](https://forums.unrealengine.com/u/Rag1804)\
**Post date:** [July 9, 2020, 3:00pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916/3 "2020-07-09T15:00:54Z")

</div>

1)Yea if i keep world transform the guns are in space like in second image  
2)And also pivot is center to that BP there is no manual transform and  
Like in the file link i given they are like that only

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 9, 2020, 3:04pm UTC](https://forums.unrealengine.com/t/spawn-at-location/467916/4 "2020-07-09T15:04:50Z")

</div>

I’ve got a copy, having a look at the moment…

![306675-world.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/7/ff7fd61f881d5fd50acc36001efcbaa27aaaedfe.jpeg)
