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: keeps spinning torso around -_-

Previous Thread :: Next Thread 
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 09:37 AM
bg.cframe = char.Torso.CFrame * CFrame.Angles(0, math.rad(angleX), 0)

used this http://wiki.roblox.com/index.php?title=Mouse_appearance_tutorial as the angleX thing... so even if I don't move my mouse, it spins the torso -_- even though it stays at 0, 0, 0 -_-

"My Life is going Good... but..."
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 09:38 AM
oops, forgot to mention...

rs.RenderStepped:connect(function()
cam.CoordinateFrame = (char.Head.CFrame * CFrame.new(0, 0, .5)) * CFrame.Angles(0, math.rad(-angleX), 0)
bg.cframe = char.Torso.CFrame * CFrame.Angles(0, math.rad(angleX), 0)
angleX = 0
end)

I reset angleX so that it stays at 0 after u move it and stuff

"My Life is going Good... but..."
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 10:09 AM
for f**k sake, someone answer me!
"How do I twist camera WITHOUT making my own Scriptable one"
"Make Scriptable camera"
"I SAID WITHOUT"
"Dude, it's super easy, make ur own FPS Camera"
"K, how the hell do I do this??? I can't seem to do this successfully!"
"..."
and this isn't the 1st time people act like this! dafuq is wrong with everyone!? I even posted my code, and I didn't want to make this camera in the 1st place, but all u show offs kept saying "Make ur own!" then at least damn help me! -_- easy to say when u don't know urself -_-

"My Life is going Good... but..."
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 10:13 AM
look at this as an example, I tried updating the code to this, to see what it'll be like

rs.RenderStepped:connect(function()
cam.CoordinateFrame = char.Head.CFrame * CFrame.new(0, 0, .5)
if angleX ~= 0 then
print(angleX)
bg.cframe = char.Torso.CFrame * CFrame.Angles(0, math.rad(-angleX), 0)
angleX = 0
end
end)
>5
5
-5
-5
-5
-5
-5
(cos I was moving the mouse)

this still rotates the torso after I move my mouse, it stays still, but as soon as I move my mouse, it rotates like crazy and never stops! even if I stop moving my mouse -_- how can CFrame.Angles(0, 0, 0) be affecting it!? -_- an to those that can't read, it's 0 since math.rad(0) is 0 cos as u can see, I refresh angleX to 0 every time...

"My Life is going Good... but..."
Report Abuse
FinTheBuild is not online. FinTheBuild
Joined: 18 Aug 2015
Total Posts: 513
22 Aug 2015 10:34 AM
rotate it
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 10:48 AM
dude... "what's that supposed to even mean?" -_-
anyways... I found my own way (as always!) no thnx to anyone!

"My Life is going Good... but..."
Report Abuse
ironrobot914 is not online. ironrobot914
Joined: 08 Jan 2010
Total Posts: 183
22 Aug 2015 10:50 AM
If you can find your own way don't post on forums.
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 10:56 AM
dude! I have to find my own way like 99% of the times! :P and I wasn't the one that pushed myself to this! and I never know when I will or wont find a way -_- jeez! am not Kap-Almighty!

"My Life is going Good... but..."
Report Abuse
Vemeric is not online. Vemeric
Joined: 05 Dec 2012
Total Posts: 462
22 Aug 2015 10:58 AM
@above
skid calm down no need to rampage
Report Abuse
Kapitanovas is not online. Kapitanovas
Joined: 09 Sep 2012
Total Posts: 4216
22 Aug 2015 11:12 AM
am sry, it's just that I hate when people say "Make it" and they make it sound so easy, and when I need help, they don't even know how to help :P

"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