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 » Scripting Helpers
Home Search
 

Re: Help with RelativeTransform

Previous Thread :: Next Thread 
jegabert is not online. jegabert
Joined: 11 Mar 2009
Total Posts: 3515
05 May 2013 01:03 AM
I am new to scripting models to move via CFrame.

while true do
wait(0.1)
model = script.Parent
RelativeTransform(
model:GetModelCFrame(), -- use the model's center
model:GetChildren(), -- use the model's children
function(center) -- rotate the center by 90 degrees
return center * CFrame.Angles(0,math.rad(1),0)

end)
end

This is what I have so far, it was supposed to be an adaptation of the spin script, but for models. Anyone got any ideas on fixing it?

I am getting an error with the "RelativeTransform)" line.
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
05 May 2013 01:19 AM
Is relativetransform new/
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
05 May 2013 05:08 AM
Has 'RelativeTransform' been defined in this scope?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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