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: Strange, local Axises Orientation not working

Previous Thread :: Next Thread 
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
28 May 2015 11:01 AM
I tried

CFrame.new(start, targetPos) --rayStart and rayEnd Positions
cframe:vectorToWorld and vectorToObject --Just to see the results, also tried pointTo

but the Rays kept going either to Vector3.new(0, 0, 0) or in zig-zags :/

any help plz?

"My Life is going Good... but..."
Report Abuse
XanthicDragon is not online. XanthicDragon
Joined: 19 Jul 2011
Total Posts: 2780
28 May 2015 11:07 AM
To get the results of the CFrame, simply do CFrame.new(start, targetPos).lookVector - That will return the same thing as doing (targetPos-start).Unit
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
28 May 2015 11:12 AM
wait a sec, would (targetPos - start).unit + Vector3.new(0, -drop, 0).unit work?
I mean that say, the ray is Vertical not Horizontal, so it will think that it should follow it's own Y Axis?
I don't think it would though from what I'm thinking right now :/

"My Life is going Good... but..."
Report Abuse
XanthicDragon is not online. XanthicDragon
Joined: 19 Jul 2011
Total Posts: 2780
28 May 2015 11:13 AM
Just .. send me a PM on what you're trying to do, I can help there.
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
28 May 2015 11:16 AM
k, haven't tried something like that in ages XD

"My Life is going Good... but..."
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
28 May 2015 12:25 PM
I guess no one else? -_-

"My Life is going Good... but..."
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
28 May 2015 02:11 PM
I got what the problem is -_-
http://www.roblox.com/Forum/ShowPost.aspx?PostID=163191653
read...

"My Life is going Good... but..."
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