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: Help with moving bricks

Previous Thread :: Next Thread 
imgood00 is not online. imgood00
Joined: 01 Sep 2008
Total Posts: 31
15 Mar 2016 05:58 PM
I've made this relatively simple script for a semi-large brick:

*-
Thing = game.Workspace.Thing

local i = 0

while true do
Thing.Rotation = Vector3.new(0,0,i)
i = i + 1
wait(0.1)
end
-*

Which has the part properly rotating in space, but whenever a player character (me) stands in the path of the bricks rotation, the brick moves above the robloxian instead of pushing the robloxian aside, how do I fix this?
Report Abuse
seanbenish is not online. seanbenish
Joined: 31 Jul 2009
Total Posts: 429
15 Mar 2016 06:30 PM
replace rotation with

Thing.CFrame = Thing.CFrame * CFrame.Angles(0,0,math.rad(i))


public static void main(String[] args) { System.out.println("Oops! Wrong language."); }
Report Abuse
imgood00 is not online. imgood00
Joined: 01 Sep 2008
Total Posts: 31
15 Mar 2016 06:31 PM
I'm not sure what part of that is wrong language now o.o
Report Abuse
seanbenish is not online. seanbenish
Joined: 31 Jul 2009
Total Posts: 429
15 Mar 2016 06:32 PM
"public static void main(String[] args) { System.out.println("Oops! Wrong language."); }" is java



public static void main(String[] args) { System.out.println("Oops! Wrong language."); }
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