|
| 01 Apr 2012 01:19 PM |
| What is the difference between using CFrame and Vector3? |
|
|
| Report Abuse |
|
|
|
| 01 Apr 2012 01:23 PM |
CFrame uses nine variables when you're using Rotational Matrixes.
Vector3 uses three. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|