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
 

CFrame help!

Previous Thread :: Next Thread 
doctor152 is not online. doctor152
Joined: 30 Nov 2008
Total Posts: 308
12 Jan 2015 03:09 PM
I'm trying to make a bullet shoot out of a face, but the face will be rotating. How do I make it so it shoots out on the specified Rotation? Thanks.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
12 Jan 2015 03:11 PM
dont use CFrame
Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
12 Jan 2015 03:17 PM
goto the Roblox Wiki; goto the CFrame page (You will be going to that page everyday from now-on, anyway, so BookMark it); Get the Face's LookDir; cram that into the bullet's CFrame, Velocity, and Body(WhichEverBodyForceYouAreUsing).



Report Abuse
doctor152 is not online. doctor152
Joined: 30 Nov 2008
Total Posts: 308
13 Jan 2015 02:03 AM
Thanks. Took a while to make it work, but it's good now. ^_^
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
13 Jan 2015 02:10 AM
head.CFrame = head.CFrame * (head.CFrame * CFrame.new(50,20,10))
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