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: MoveTo

Previous Thread :: Next Thread 
TheDarkFireDragon is not online. TheDarkFireDragon
Joined: 02 Sep 2009
Total Posts: 1715
08 Aug 2011 03:34 PM
I've got a newb question. When you use MoveTo, it won't work if there are objects above the desired location. Is there a workaround for this? It still happens even when there is enough room for the object being moved.
Report Abuse
ThePHPguy is not online. ThePHPguy
Joined: 05 Aug 2011
Total Posts: 35
08 Aug 2011 03:37 PM
Hello dark,

is there just enough room or does it have some space? Because if there's just enough room then the collision detection will usually be fired, being that they will be touching.
Report Abuse
TheDarkFireDragon is not online. TheDarkFireDragon
Joined: 02 Sep 2009
Total Posts: 1715
08 Aug 2011 03:38 PM
There's enough room that the object can fit without touching anything but the base.
Report Abuse
barl99 is not online. barl99
Joined: 28 Dec 2009
Total Posts: 2318
08 Aug 2011 03:38 PM
MoveTo... Hmm.. Couldi use this instead of changng the position?
Report Abuse
ThePHPguy is not online. ThePHPguy
Joined: 05 Aug 2011
Total Posts: 35
08 Aug 2011 03:39 PM
Can we see exactly what you tried?
Report Abuse
TheDarkFireDragon is not online. TheDarkFireDragon
Joined: 02 Sep 2009
Total Posts: 1715
08 Aug 2011 03:43 PM
Just the regular MoveTo function. I'm just going to change the CFrame.Position; that works.
Report Abuse
barl99 is not online. barl99
Joined: 28 Dec 2009
Total Posts: 2318
08 Aug 2011 03:44 PM
If your moving something (Which i guess you are :P) Couldn't you use CFrame making it able do go through things.
Report Abuse
barl99 is not online. barl99
Joined: 28 Dec 2009
Total Posts: 2318
08 Aug 2011 03:44 PM
Oh, you are :P
Report Abuse
ThePHPguy is not online. ThePHPguy
Joined: 05 Aug 2011
Total Posts: 35
08 Aug 2011 03:47 PM
I think the most likely problem is that the MoveTo function moves from the PrimaryPart of the model, so if you have a strangely shaped model and/or the PrimaryPart isn't centered then you could run into this problem.
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