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: Gltichy movement

Previous Thread :: Next Thread 
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:10 PM
im ussing .Velocity on a brick and it glitches REALLY bad.

How do I make it smooth like in tunnel cruiser
by:unknownghost.


Please reply soon!
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:15 PM
aw cmon guys, please?

Heres my code so far. Everything is defined.

while wait() do
Part.CFrame = CFrame.new(Part.Position, mouse.Hit.p);
Part.Velocity = Part.CFrame.lookVector * 10;
end



It twirls around and glitches and goes crazy
Report Abuse
juniorjfive is not online. juniorjfive
Joined: 05 Jan 2010
Total Posts: 671
26 May 2015 06:23 PM
use a BodyVelocity instead of changing the Part's Velocity.

local bv = Instance.new('BodyVelocity', Part)
bv.maxForce = Vector3.new(1,1,1)/0
bv.velocity = Vector3.new()

while wait() do
Part.CFrame = CFrame.new(Part.Position, mouse.Hit.p) -- Adding this will make the Part continuously update it's Direction toward the mouse
bv.velocity = Part.CFrame.lookVector * 10
end
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:23 PM
ok ill se how it works, Thanks.
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:23 PM
Or CFrame it without velocity on renderstepped, in a small increment.
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:25 PM
local script


local Part = workspace.Part

game:GetService("RunService").RenderStepped:connect(function()
Part.CFrame = Part.CFrame*CFrame.new(0,0,-1)
game:GetService("RunService").RenderStepped:wait()
end)
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:26 PM
still goes absurdly glitchy, and cant go forward, only side to side SUPER fast and glitchy.

plz more help.

just like tunnel cruiser tyvm
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:26 PM
Fixed version*

local Part = workspace.Part

game:GetService("RunService").RenderStepped:connect(function()
Part.CFrame = Part.CFrame*CFrame.new(0,0,-0.25)
game:GetService("RunService").RenderStepped:wait()
end)
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:27 PM
Could you implement lookvector and mouse.Hit.p in it?
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:28 PM
sry, but what does this mean

game:GetService("RunService").RenderStepped:wait()


I am non faimiliar with renderstepped and runservice
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:28 PM
local Part = workspace.Part

game:GetService("RunService").RenderStepped:connect(function()
Part.CFrame = Part.CFrame*CFrame.new(0,0,-0.25)
game:GetService("RunService").RenderStepped:wait()
end)

Sorry, I dont have your code.
P\ost it and ill fix it though.
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:28 PM
RenderStepped wait() is shorter than wait(), which makes it smoother.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:29 PM
the codes at the top, buddy
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:32 PM
Dont be rude, your lucky i just helped you

try this

game:getService("RunService").RenderStepped:connect(function()
Part.CFrame = CFrame.new(Part.Position,mouse.Hit.p)
Part.Velocity = Part.CFrame.lookVector*10
game:GetService("RunService").RenderStepped:wait()
end)
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:32 PM
being a buddy is rude?

sry. :(
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:33 PM
No it just sounded rude

What if I said this, because you didnt see the code:

Code's at the top, buddy.

It sounds rude, even if you dont mean it.

Sorry if i took it the wrong way. But choose words carefully.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:35 PM
i meant it like, friendly.
Like i owe you one.

sry :(
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:36 PM
Oh

Sorry

but is the code working? Btw its a localscript.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:37 PM
OH


Its not the ships fault.

ITS MY FAULT!

LITERALLY!


Once i sit on the welded seat, it glitches. I think it makes sense.

know how to fix it, Fellow scripter? :)
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:38 PM
Give me the model. Ill whip something up.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:40 PM
:D
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:40 PM
http://www.roblox.com/For-Um-I-forgot-your-name-but-I-think-it-is-chicke-item?id=252561760
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
26 May 2015 06:40 PM
it's not for sale.
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:42 PM
oh, lol sry
Report Abuse
KEVEKEV77 is not online. KEVEKEV77
Joined: 12 Mar 2009
Total Posts: 6961
26 May 2015 06:42 PM
http://www.roblox.com/TheNewChicken-item?id=252561760
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