I was trying to find it on the roblox definition page(I forgot what it’s called) and looking for tutorials.
So I was making an inventory system that can drop items. So when you click on it drops the item right in from of your head, but look vector doesn’t work. Here’s the error part of my script:
That might be due to physics, if the object isn’t anchored and is collidable then it’ll push the two objects apart. Either anchor the clone or make it uncollidable.
You didn’t add the position, it’d just spawn at the LookVector which is a unit vector. (0-1)
The way I put it above will set it to the head’s position and rotation + offset of 4 on Z-Axis (Z being depth, so forward due to the rotation being included, if that doesn’t work try setting it to 4, 0, 0 or the negative variations of them.)
Although you might want to use the HumanoidRootPart instead to position the clone. (Unless it’s a specific case I guess.)
@Jaycbee05@DragRacer31@Dysche
For more info that I think I didn’t need at that time:
The part i am cloning is a model from the replicated storage, and I’m setting the parent to workspace. All this is done on a server script when a remote event is fired. In the local script I put in all the things like finding the character and what to clone.