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: Airbound :MoveTo()

Previous Thread :: Next Thread 
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
02 Aug 2012 09:55 PM
I have an NPC, with a Head, Torso, and "Eye."

I want this "Eye" to fly around to specific locations using :MoveTo() (and raycasting)
and I want it to look in it's direction.

I was told BodyGyro would help me with the looking, but it does not. At all.

Any recommendations?
Report Abuse
MasteriMorty is not online. MasteriMorty
Joined: 31 Jul 2012
Total Posts: 1513
02 Aug 2012 09:55 PM
[ Content Deleted ]
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
02 Aug 2012 09:57 PM
"2. accept that there's no such thing as raycasting"

ORLY?
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
02 Aug 2012 10:00 PM
"Recommendations?
1. close your account
2. accept that there's no such thing as raycasting
3. stop failing at Lua."

1. You're funny.
2. Yes there is.
3. "Stop* "failing?" at Lua."

4. Learn proper English and grammar. Also learn to script. Also learn to help.
5. Get off the Forums.

There is not enough facepalm in this thread.
Report Abuse
MasteriMorty is not online. MasteriMorty
Joined: 31 Jul 2012
Total Posts: 1513
02 Aug 2012 10:04 PM
[ Content Deleted ]
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
02 Aug 2012 10:05 PM
Mast, go annoy C&G
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
02 Aug 2012 10:15 PM
"You're* right. As* a result, the rest of your family should join us for scripting help to amply supply the rest of the facepalm that you alone fail to supply."

I am willing to disregard the inadequate facepalm for sufficient assistance in the purpose of this thread.

Anyone know how to make something fly through script?
I'm not using specific points to CFrame it to because I want a smooth motion.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
02 Aug 2012 10:16 PM
Is there any way to completely remove gravity from a specific Humanoid?
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
02 Aug 2012 10:52 PM
Bump
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
02 Aug 2012 11:24 PM
gravity?

Cframing?

Vector3?
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
02 Aug 2012 11:30 PM
Gravity is made by mass, and mass (in roblox) comes from the part sizes multiplied together. I would suggest using body postions and body velocities instead. :?
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
03 Aug 2012 12:04 AM
Would anyone like to explain BodyPositions and BodyVelocities?

I don't use the class of "Body" seeing as it has failed me on numerous occasions.

Example: BodyGyros in attempt to make a part face a location: Failed.
Report Abuse
omzig is not online. omzig
Joined: 18 Jun 2008
Total Posts: 578
03 Aug 2012 12:09 AM
Nonono.

Use BodyGyros to lock its position in the air (using the y axis), and then use MoveTo. Not sure if that will work, but it could.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
03 Aug 2012 12:18 AM
Body* objects are extremely buggy and hard to use. You're almost always better off manually setting the CFrame instead of using a Body* object.
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
03 Aug 2012 12:28 AM
When using gyros [most] of the time you have to use positions as well.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
03 Aug 2012 12:29 AM
Agreed with arceusinator.

Also, if you were to do what omzig said, how would I go about it? I set the Y of the maxTorque to 100. Nothing
I set the y of the cframe.p to 100. Nothing.

What do I do?
Report Abuse
Inefficiency is not online. Inefficiency
Joined: 31 Jul 2012
Total Posts: 78
03 Aug 2012 12:31 AM
> MasteriMorty

Fail troll is fail.
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
03 Aug 2012 01:26 AM
Bump
Report Abuse
Ubayla is not online. Ubayla
Joined: 01 Dec 2008
Total Posts: 157
03 Aug 2012 01:35 AM
Simple, CFraming with Linear Interpolation. You could even use Lerp :P

[Ubayla]was here[/Ubayla]
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
03 Aug 2012 02:28 AM
@Ubayla

I'm sorry, what? Is there a page on the wiki for this? Never heard of Lerp. Lol

I was thinking using raycasting, making points along the way and simply CFraming that way...
Not a smooth movement, but pretty close...
Report Abuse
Ayrun is not online. Ayrun
Joined: 27 Jul 2012
Total Posts: 181
03 Aug 2012 03:24 AM
Bump.

Anyone want to define Lerp for me? Or explain CFrame Linear Interpolation?

Should I just raycast locations between destinations?
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