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: Concerning lookVector

Previous Thread :: Next Thread 
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 09:23 AM
I have this script:

for i = 1,#ship do
local inc = 0.7
local dir = CFrame.new(ship[i].Position, shipn.Front.Position).lookVector
local mm = (dir * inc)
coroutine.wrap(function()
while foward == true do
wait()
ship[i].CFrame = ship[i].CFrame + mm
end
end)()
end

When I move it, instead of going foward, it goes down? Help?
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 09:58 AM
b1
Report Abuse
C0mmando323 is not online. C0mmando323
Joined: 15 Dec 2012
Total Posts: 394
06 Dec 2014 10:02 AM
What's the rotation of shipn?
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 10:03 AM
shipn is a model, Front is a part inside of shipn
Report Abuse
C0mmando323 is not online. C0mmando323
Joined: 15 Dec 2012
Total Posts: 394
06 Dec 2014 10:04 AM
Yeah, I meant the part Front because if it's Rotation isn't "0,0,0" right off the bat, you are probably going to get a weird result like you're experiencing
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 10:05 AM
The rotation of Front is 0,90,0
Report Abuse
C0mmando323 is not online. C0mmando323
Joined: 15 Dec 2012
Total Posts: 394
06 Dec 2014 10:06 AM
That's your problem, make it 0,0,0
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 10:08 AM
I changed it to 0,0,0 but its still happening
Report Abuse
C0mmando323 is not online. C0mmando323
Joined: 15 Dec 2012
Total Posts: 394
06 Dec 2014 10:09 AM
Hmm... Could you post a place of this and I'll test it?
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 10:18 AM
b2
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 10:46 AM
b3
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 11:05 AM
b4
Report Abuse
Ruinable is not online. Ruinable
Joined: 14 Sep 2014
Total Posts: 8903
06 Dec 2014 12:38 PM
You just completely ignored his post...

Mr. Mustachio | ( ͡°╭͜ʖ╮͡° )
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
06 Dec 2014 04:32 PM
Whos?
Report Abuse
C0mmando323 is not online. C0mmando323
Joined: 15 Dec 2012
Total Posts: 394
06 Dec 2014 07:39 PM
He didn't ignore it, he sent a party invite.
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