generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How would I do Mesh Offset.. without a mesh?

Previous Thread :: Next Thread 
Naquadria is not online. 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 is not online. 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 is not online. 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 is not online. Naquadria
Joined: 03 Nov 2010
Total Posts: 11936
16 Nov 2015 07:10 PM
How helpful.
Report Abuse
xlaser23 is not online. 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 is not online. 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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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 is not online. 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
SectionOne is not online. SectionOne
Joined: 12 Mar 2010
Total Posts: 3783
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
YellowTide is not online. YellowTide
Joined: 20 May 2011
Total Posts: 267
16 Nov 2015 07:45 PM
CFrame = CFrame + vec3 offset
Report Abuse
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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 is not online. 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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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 is not online. 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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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 is not online. 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 is not online. 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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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 is not online. 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
NormaINorm is not online. NormaINorm
Joined: 11 Dec 2012
Total Posts: 315
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
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
16 Nov 2015 08:43 PM
Adjust the welds.
http://wiki.roblox.com/index.php?title=Joint#Programmatic_Creation
Report Abuse
Naquadria is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image