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: Grid Tile System

Previous Thread :: Next Thread 
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
11 Jul 2016 06:28 PM
I'm back people,

and I got this question for you:

How would I make a 1x1 Grid Tile sysyem, where I can move models in? (by using the mouse ofcourse)

I know it has to do something with the mousetarget position, but I can't remember how you would make a part move - in a 1x1 Grid - while the mouse is moving.

Hope you people can help me out.


Greetings, Error the Chicken
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
11 Jul 2016 06:29 PM
round the position of the part/model to the nearest 1 stud
Report Abuse
RangerDelta is not online. RangerDelta
Joined: 10 Jul 2016
Total Posts: 1194
11 Jul 2016 06:30 PM
What I would do is have small invisible tile parts or whatnot (or since transparent parts lag more just do the floor tiled and offset the position the size of it upwards on the Y axis), and every furniture piece would have a set number of X & Y grid spaces they'd take up, and it would check to see if it'd fit (even if the furniture was rotated).


Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
11 Jul 2016 06:33 PM
And how would I make that model stick to the target position?

Would I use "SetPrimaryPartCFrame", or rather "MoveTo" or "TranslateBy"?
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
11 Jul 2016 06:51 PM
Bumping this
Report Abuse
error9999 is not online. error9999
Joined: 05 Sep 2009
Total Posts: 1593
12 Jul 2016 12:38 PM
another bump
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