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 » Scripting Helpers
Home Search
 

Re: Help with this velocity script.

Previous Thread :: Next Thread 
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
20 Jul 2011 10:01 PM
I'm using a Vector3Value for the speed. I set it to 0,-35,0

Here are the lines:
while true do
v=script.Parent.Parent.Parent.Speed.Value
script.Parent.Velocity = script.Parent.CFrame:vectorToWorldSpace(Vector3.new(v))
wait(1)
end

Help please.

The other post was teh wrong forum.
Report Abuse
PsychoBob is not online. PsychoBob
Joined: 08 Jul 2009
Total Posts: 11047
20 Jul 2011 10:03 PM
Show Output?
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
20 Jul 2011 10:54 PM
There's no errors D:
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
20 Jul 2011 10:59 PM
So what is it supposed to do and what is going wrong? Why does nobody include that anymore.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
20 Jul 2011 11:06 PM
This script is supposed to make the brick its in a conveyor.(Coasters ftw)
I grouped two of the same bricks which both have the script, and cloned the group, grouped it again, and inserted a Vector3Value.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
20 Jul 2011 11:08 PM
But the brick still doesn't have velocity
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
21 Jul 2011 12:34 AM
Little bump.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
21 Jul 2011 10:52 AM
Bawmp
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
21 Jul 2011 01:19 PM
H-A-L-P Please. Bump.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
21 Jul 2011 10:09 PM
BUMP
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
21 Jul 2011 10:55 PM
try using

script.Parent.lookVector*Speed

see if that works.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
21 Jul 2011 11:25 PM
I'm using a cylindermesh so It has to use vector3, for the cylinder mesh point Up.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
22 Jul 2011 12:52 PM
Buummmp.
Report Abuse
squibs47 is not online. squibs47
Joined: 14 Feb 2010
Total Posts: 339
22 Jul 2011 12:59 PM
toWorldSpace? What's that? Or is it nothing. if It is, you guys mde me ask a stupid question
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
22 Jul 2011 01:00 PM
"I'm using a cylindermesh so It has to use vector3, for the cylinder mesh point Up."

So is the brick supposed to move through it?
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 06:47 PM
No. It's a brick. With a cylindermesh. Instead of it's front facing forward, it's the top.
Report Abuse
GASSYFART is not online. GASSYFART
Joined: 13 Jul 2010
Total Posts: 184
23 Jul 2011 06:57 PM
body force
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 07:14 PM
No. Velocity.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 07:28 PM
Most of the people are viewing. No posts D:
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 07:41 PM
Help would be REALLY REALLY nice.
Report Abuse
Phizo is not online. Phizo
Joined: 26 Jun 2009
Total Posts: 269
23 Jul 2011 07:47 PM
I'm not really sure what the problem is. Give this a go.

while true do
v = script.Parent.Parent.Parent.Speed.Value = "50"
script.Parent.Velocity = script.Parent.CFrame:vectorToWorldSpace(Vector3.new(v))
wait(1)
end
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 07:51 PM
That won't work. Because "Speed" is a vector3 value. I want to set a group of tracks the same velocity using just ONE vector3value.
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 08:57 PM
Bump
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
23 Jul 2011 09:22 PM
while true do
v=script.Parent.Parent.Parent.Speed.Value
script.Parent.Velocity = Vector3.new(v)
wait(1)
end

Try that..?
Report Abuse
Everseen is not online. Everseen
Joined: 29 Apr 2011
Total Posts: 475
23 Jul 2011 10:44 PM
The track rotates too, so if I rotate it sideways, it'll go to wrong direction.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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