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: Doesn't make sense

Previous Thread :: Next Thread 
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
28 Apr 2017 12:23 PM
for i = 0,.75,.1 do Tool.Grip = CFrame.new(0,-1,0,0.5,0,0,0,0,-1,0,1,0) ######## print(Tool.Grip) end ########## ### ## ## ## ######## ### ## ## # As you can see, the output is different from the CFrame I am supplying. Why? (I set it in a loop so it would update the CFrame multiple times, I originally had no loop, but it still works the same)
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
28 Apr 2017 12:24 PM
"As you can see"

Apparently not because of this stupid censorship

Link goo.gl/HpHWhB
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
28 Apr 2017 01:48 PM
bump
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
29 Apr 2017 11:48 AM
I figured out the problem:

Instead of the CFrame being in the same order as the Tool.Grip properties, it's in standard form (position, rotation matrix):

CFrame.new(
-- Position
GripPos.x, GripPos.y, GripPos.z,
-- Rotation matrix
GripRight.x, GripUp.x, -GripForward.x,
GripRight.y, GripUp.y, -GripForward.y,
GripRight.z, GripUp.z, -GripForward.z
)
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