Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 04:34 PM |
| What would be the equivalent to Offset on a mesh on a UnionOperation? Obviously putting a mesh on a union would defeat the purpose of it being a union (multi-parts) |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 04:36 PM |
| P.S. I'm editing a gunscript and the reload animation offset's the mesh, so that would have to be edited for Unions :/ |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 16 Nov 2015 04:51 PM |
Make it ur self and u would find out
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,867 Tx1,483 |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
| |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 16 Nov 2015 07:16 PM |
ikr
now the door is to ur right
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,890 Tx1,483 |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 07:29 PM |
Actually its to the left, and your already threw it.
If you have nothing better to do go troll OT. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 07:32 PM |
"MESH offset" So I believe you can't do mesh offset without a mesh.
I was once here. |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 07:41 PM |
| I dont mean meshoffset exactly, I meant is there a value that works Similar to OffSet in a mesh, changing Position just messes it up completely |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 07:42 PM |
Oh boy another clanner. Simply get a gun tech expert to script one for you.
Nothing to see here, officer. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 07:45 PM |
| CFrame = CFrame + vec3 offset |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 07:47 PM |
Use Vector3, part.Position = part.Position + Vector3.new(0, 10, 0) This will +10 to the Y axis of the part.
I was once here. |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 08:02 PM |
Thanks^
Kinda worked but the part fell threw the baseplate and deleted itself..
didn't do that with the mesh offset, but ill just worry about it later |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:04 PM |
Either your part is cancollide = false or it's teleporting it under the base plate. Note it can teleport when anchored. :)
I was once here. |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 08:10 PM |
pullBack = function() Tool.Recoil.Position = Tool.Recoil.Position + Vector3.new(-0.1,0,0) wait(.3) Tool.Recoil.Position = Tool.Recoil.Position + Vector3.new(0,0,0) print'Pulled' end
function gets fired, but the recoil part usually just gets flung off/falls threw baseplate sometimes
Its CanCollide and welded to the gun |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:13 PM |
Oh the weld is breaking because of the position being changed, I'm currently facing the same problem with my script, go to the thread "Weld breaking", people are "helping" me solve this, lol.
I was once here. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:14 PM |
I just realised, try: part.CFrame = part.CFrame + Vector3.new(0, 10, 0)
I was once here. |
|
|
| Report Abuse |
|
|
litalela
|
  |
| Joined: 30 Mar 2010 |
| Total Posts: 6267 |
|
|
| 16 Nov 2015 08:15 PM |
cant add a vector to a cframe
part.CFrame * CFrame.new(Vector3.new(0,10,0))
➳Lɪᴛᴀʟᴇʟᴀ ɪs ᴍʏ ɴᴀᴍᴇ, Lᴜᴀ ɪs ᴍʏ ɢᴀᴍᴇツ |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 08:26 PM |
21:25:47.690 - Players.Player.Backpack.M9.Side Arm:576: bad argument #3 to 'CFrame' (CFrame expected, got Vector3)
And when I use .CFrame, it doesn't move the part, it moves my entire character |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:28 PM |
CFrame = CFrame + Vector3.new(0, 0, 0) works fine for me.... Try this anyways: part.CFrame = CFrame.new(pos + Vector3.new(0, 0, 0))
I was once here. |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 08:33 PM |
| Got same error and it still moved my character when I shot |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:34 PM |
Wait so your trying to adjust the tool to be in the characters hand? if so just change the properties in the tool.
I was once here. |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2015 08:43 PM |
Adjust the welds. http://wiki.roblox.com/index.php?title=Joint#Programmatic_Creation |
|
|
| Report Abuse |
|
|
Naquadria
|
  |
| Joined: 03 Nov 2010 |
| Total Posts: 11936 |
|
|
| 16 Nov 2015 08:49 PM |
| No, I'm trying to make the M9 "pull back" thing on the top pull backwards when the function is called |
|
|
| Report Abuse |
|
|