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: Hey is this an efficient function?

Previous Thread :: Next Thread 
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 04:08 PM
I created this myself to CFrame models!


function MoveModel(model,cf)
local norm=model:GetModelCFrame()
for _,v in pairs(model:GetChildren())do
if v:IsA'BasePart' then
v.CFrame=cf*(norm:inverse()*v.CFrame)
end
end
end
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
02 Sep 2015 04:11 PM
Are we talking instruction efficiency? Because that could be a bit faster really.
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 07:49 PM
Ignore efficient, I mean "Should I use this function and what are its downsides"
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Sep 2015 07:50 PM
SetPrimaryPartCFrame
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 07:53 PM
Why should I use that one compared to this one?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Sep 2015 07:58 PM
Because it's done C++-sided and it's a method that exists for this purpose.
Don't be an icyfires.
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 08:01 PM
Um, okay, I've never used it. How do I use it? Also what does icyfires mean? I'll wiki the primary part
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Sep 2015 08:02 PM
http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 08:03 PM
I already found that, thankyou but what is icywhatever?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Sep 2015 08:04 PM
you don't want to know.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
02 Sep 2015 08:06 PM
Is that a subliminal diss at the creator of this?
http://www.roblox.com/IcyFiress-Admin-Commands-item?id=171600495

while true do the do
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Sep 2015 08:06 PM
It's not subliminal, it's pretty obvious.
And yes.
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
02 Sep 2015 08:09 PM
I looked at it
He stores things in workspace, and not only the gets it as in game.Workspace["Icy's admin"].Admin.blah
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
03 Sep 2015 01:56 AM
No it's not that. He recreates perfectly good Roblox functions, using other Roblox functions.
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