following a tycoon dropper tutorial up until it came to the item (in my case: a rig) not dropping from the designated part, instead spawning the clone directly next to the original. I tried the same code with both the cylinder mesh I was originally using + a cube part but both have the same result which is why there's 3 2Bs.
#automatic dropper not dropping correctly
1 messages · Page 1 of 1 (latest)
So, just to clarify, the item you're having it drop is the rig shown in the picture?
yes
try replacing
newItem.CFrame
with
newItem.HumanoidRootPart.CFrame
alr
There's also likely a problem with the location it's trying to put the dropped item, as well
I'd recommend just replacing the
Dropper.CFrame * CFrame.new()
with something along the lines of:
Dropper.CFrame - Vector3.new(0, 2, 0)
ok so I moved the coordinates just slightly below the itemdrop mesh too and added humanoidrootpart and it seemed to stop spawning 2B, then I cloned the cube part again and copied the code and uh
The reason it's doing that is because you're multiplying the part where you want it to drop from's CFrame by the location you want it to drop. The snippet I provided just above would solve that by placing the item 2 studs below the dropper part, but alternatively you could remove the "Dropper.CFrame *" entirely, and instead just set the newItem.HumanoidRootPart.CFrame directly to the CFrame.new()
ahhh
well I tried this and it seemed to work hopefully as you intended
theyre falling below the map
I see, try lowering the value in the Vector3.new() to 1
** You are now Level 8! **
Though, now that I think about it, just to make sure they also don't drop sideways, you should probably do
CFrame.new(Dropper.Position - Vector3.new(0, 1 ,0))
instead
alrighty
so it would be
newItem.HumanoidRootPart.CFrame = CFrame.new(Dropper.Position - Vector3.new(0, 1 ,0))
Interesting
you're making sure to comment the text at the end before testing, right
If it still doesn't work after making sure the text isn't causing it to error, could you please provide a picture of where the part dropping the item is?
alr
doing something irl so i might be a while tho
oh my god
I didn't even know what commenting was mb, i forgor the --
set it to (0, 2, 0) again and it's almost perfect, I just need them to face foward
Did u write the code or ai
.
following a tut on yt where the guy writes it out