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: The difference between CFrame and Vector3?

Previous Thread :: Next Thread 
brandon58590 is not online. brandon58590
Joined: 08 Mar 2008
Total Posts: 996
01 Apr 2012 01:19 PM
What is the difference between using CFrame and Vector3?
Report Abuse
Diinosaurii is not online. Diinosaurii
Joined: 31 Mar 2012
Total Posts: 215
01 Apr 2012 01:23 PM
CFrame uses nine variables when you're using Rotational Matrixes.

Vector3 uses three.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
01 Apr 2012 01:24 PM
There are many, but in use of positioning CFrame will force a block somewhere while Vector3 will push it into place (as in, if there is a block occupying the space that you want to put another, it pushes it away)
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
01 Apr 2012 01:29 PM
CFrame takes 12 arguments?

first 3 for position
9 for rotation matrix
Report Abuse
brandon58590 is not online. brandon58590
Joined: 08 Mar 2008
Total Posts: 996
01 Apr 2012 01:29 PM
So if I tried to force a block inside another using Vector3 it wouldn't work then?
Report Abuse
kools is not online. kools
Joined: 11 Jan 2009
Total Posts: 1659
01 Apr 2012 01:30 PM
Well Vector and CFrame both deal with the 3 axii X Y Z. However as someone mentioned earlier CFrame can deal with rotations too. CFrame examples:

CFrame.new(Positions)
CFrame.fromEulerAnglesXYZ(number rotation x, number rotation y, number rotation z)

and more...

Vector examples:

Vector3.new(Positions)

Check this out for an explanation on CFrame: http://wiki.roblox.com/index.php/CFrame#Rotating_bricks

Yeh
Report Abuse
Diinosaurii is not online. Diinosaurii
Joined: 31 Mar 2012
Total Posts: 215
01 Apr 2012 01:30 PM
@smurf
I meant to say they have a 9-argument difference. Well, that's what I meant, but I didn't say.
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