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 |
|
|
|
| 11 Jul 2016 06:29 PM |
| round the position of the part/model to the nearest 1 stud |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
| |
|
error9999
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1593 |
|
| |
|