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: CFrame Help

Previous Thread :: Next Thread 
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:19 PM
[ Content Deleted ]
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:22 PM
[ Content Deleted ]
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
27 Aug 2012 07:23 PM
Idunno try lookvector

Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:23 PM
[ Content Deleted ]
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
27 Aug 2012 07:24 PM
http://wiki.roblox.com/index.php/CFrame#Properties

CFrame.lookVector Vector3 returns the facing direction (unit vector)
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:26 PM
[ Content Deleted ]
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
27 Aug 2012 07:28 PM
ooo, maybe


Part.CFrame = CFrame.Angels(OtherPart.lookVector)

iduno
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:30 PM
[ Content Deleted ]
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
27 Aug 2012 07:32 PM
Honestly CFrame isn't my type of thing, I can't really help any further :L
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:34 PM
[ Content Deleted ]
Report Abuse
Destroshun is not online. Destroshun
Joined: 12 Aug 2012
Total Posts: 764
27 Aug 2012 07:38 PM
No idea what you are doing..
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:40 PM
[ Content Deleted ]
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:45 PM
[ Content Deleted ]
Report Abuse
AIphonse is not online. AIphonse
Joined: 24 Aug 2011
Total Posts: 366
27 Aug 2012 07:49 PM
try the output stringvalue projectile vector
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 07:53 PM
[ Content Deleted ]
Report Abuse
AIphonse is not online. AIphonse
Joined: 24 Aug 2011
Total Posts: 366
27 Aug 2012 07:56 PM
wow. v.v
Report Abuse
rayoma is not online. rayoma
Joined: 13 Nov 2009
Total Posts: 1911
27 Aug 2012 07:58 PM
I'm guessing you're trying to get it rotated the same as some other part?

grid.CFrame=CFrame.new(grid.CFrame.p)*(v.CFrame-v.CFrame.p);
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 08:18 PM
[ Content Deleted ]
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 08:39 PM
[ Content Deleted ]
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 08:42 PM
[ Content Deleted ]
Report Abuse
FlamedSkull is not online. FlamedSkull
Joined: 23 May 2009
Total Posts: 1379
27 Aug 2012 08:50 PM
Um, can I see a diagram?
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 08:52 PM
[ Content Deleted ]
Report Abuse
FlamedSkull is not online. FlamedSkull
Joined: 23 May 2009
Total Posts: 1379
27 Aug 2012 09:00 PM
Try

part.CFrame.Y = part.CFrame.X - (part.CFrame.X * (1/4))
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
27 Aug 2012 09:08 PM
[ Content Deleted ]
Report Abuse
FlamedSkull is not online. FlamedSkull
Joined: 23 May 2009
Total Posts: 1379
27 Aug 2012 09:14 PM
You need to set 0.2. That's why.
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