Jakeup10
|
  |
| Joined: 29 Nov 2008 |
| Total Posts: 6782 |
|
|
| 20 Apr 2013 04:40 PM |
I am trying to make something, and I was wondering which of the three of these lag the least...( This script will be run ALOT of times, so it will be as little lag as possible)
1. Using InsertService to INSERT what I need every time 2. Cloning the object from lighting every time I need it. 3. Using a script to RE-CREATE IT, (Mesh,texture,brick form, etc) every time I need it... 4.Other? |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
|
| 20 Apr 2013 04:41 PM |
Not exactly sure but I'd say that cloning it would be the best, but I may be wrong... I probably am... :/ |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:42 PM |
Cross out option three. It's way too much work for just one part of a script.
With that being said, I recommend option two. I use it all the time and my frame rate never more than ten frames. |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:46 PM |
| Depends on the item. I keep maps compiled into a string in a script in lighting to reduce lag sometimes. |
|
|
| Report Abuse |
|
|
Jakeup10
|
  |
| Joined: 29 Nov 2008 |
| Total Posts: 6782 |
|
|
| 20 Apr 2013 04:48 PM |
@The, It's kinda top secret, but it's an object, with a mesh, and a script inside, which isn't anchored. |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:50 PM |
| If it's not a large amount of parts I would recommend just keeping it in lighting. I find storing a large number of parts in lighting causes lag though. |
|
|
| Report Abuse |
|
|