Dodeca
|
  |
| Joined: 11 Sep 2011 |
| Total Posts: 13649 |
|
|
| 13 Sep 2016 06:44 PM |
In games like ROBLOX Building, Amusement Park Tycoon, Retail Tycoon, etc, how do they get the models following the cursor to snap to certain "stud"(for example ROBLOX Building "studs" are 4x4). Not an actual script, but like an explanation maybe?
Idk, hard to explain the question.
|
|
|
| Report Abuse |
|
|
Famicorn
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2421 |
|
|
| 13 Sep 2016 06:45 PM |
| hacking and govt cheats (exclusive) |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2016 06:49 PM |
| ###################################################################################################################################### |
|
|
| Report Abuse |
|
|
Famicorn
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2421 |
|
|
| 13 Sep 2016 06:51 PM |
| ^^ proof, government censorship (of hacks) |
|
|
| Report Abuse |
|
|
Real_Edgy
|
  |
| Joined: 23 Oct 2013 |
| Total Posts: 1212 |
|
|
| 13 Sep 2016 06:51 PM |
| Vector2.new(math.floor(x/4)*4, math.floor(y/4)*4) would get you the nearest position locked to a 4-stud grid |
|
|
| Report Abuse |
|
|
Dodeca
|
  |
| Joined: 11 Sep 2011 |
| Total Posts: 13649 |
|
|
| 13 Sep 2016 06:53 PM |
@Real Guess it was easier then I thought If you want the robux make a t
|
|
|
| Report Abuse |
|
|
Real_Edgy
|
  |
| Joined: 23 Oct 2013 |
| Total Posts: 1212 |
|
| |
|