Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

CFrame not working?

Asked by 8 years ago

I'm not sure if this is for everyone, however when I use CFrame for newly created parts, they spawn as if they're using position. I've tried doing this on multiple places, and accounts and the glitch still occurs. It hasn't done this before. I'm trying to make a flame thrower(sorta) however all the parts created spawn above each other. Is there a way fix this?

0
Mind showing us the code that spawns the parts? XAXA 1569 — 8y
1
Also, before looking at your code, I bet I already know what the solution is. CFrame the parts LAST (i.e. after resizing it and after parenting it to workspace) XAXA 1569 — 8y
0
It worked! You were right, I was doing the sizing before the cframing. I had switched the way I create parts to go down the list of properties to make it easier to read. OneTruePain 191 — 8y

Answer this question