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: Is there a better way to do this?

Previous Thread :: Next Thread 
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:33 PM
I'm adding like a little recoil system to a weapon i made, but upon testing, the barrel is out of place by the time it returns back to the normal rotation.

Barrel.Rotation = Vector3.new(0, 0, -3.536)
wait()
Barrel.Rotation = Vector3.new(0, 0, -23.536)
wait(.2)
Barrel.Rotation = Vector3.new(0, 0, -38.536)
wait()
Barrel.Rotation = Vector3.new(0, 0, -23.536)
wait()
Barrel.Rotation = Vector3.new(0, 0, -3.536)
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:35 PM
b
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
19 Feb 2017 08:36 PM
http://wiki.roblox.com/index.php?title=API:Class/HingeConstraint
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:43 PM
Thanks but that didn't work. I also tried ballsocketconstraint and that didn't do ### trick either
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:45 PM
g
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:47 PM
b
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:49 PM
de
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 08:49 PM
love it when people bump with 2 minute increments


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:50 PM
why do you even bother posting if you have nothing constructive to offer
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 08:51 PM
why do you even bother bumping if your thread is literally at the top of the subforum


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:52 PM
because i felt like doing so. if you're not going to offer help, get off of ## thread bud.
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 08:52 PM
nah i feel like doing so


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:53 PM
you just love being an annoying little kiddo don't you.
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
19 Feb 2017 08:54 PM
"you just love being an annoying little kiddo don't you." but your ### one bumping every 2 minutes
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 08:54 PM
definitely
it's better than being hypocritical and self-contradictory


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:55 PM
bump
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 08:59 PM
bunmp
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 09:01 PM
bump
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 09:01 PM
ooo he went from 2 to 4 minutes
edgy


Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 09:02 PM
ok


bump
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 09:03 PM
lets waste our time commentating on a thread


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
19 Feb 2017 09:04 PM
maybe if you continue to bump when you're right under the pinned thread you'll surpass it and finally be at the top


Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
19 Feb 2017 09:09 PM
You are forgetting relative rotation. For some reason, your recoil is sideways?

X=Horizontal
Y=vertical
Z=Horizontal2

Barrel.Rotation = Vector3.new(Barrel.Rotation.X, -3.536, Barrel.Rotation.Z)
wait()
Barrel.Rotation = Vector3.new(Barrel.Rotation.X, -23.536, Barrel.Rotation.Z)
wait(.2)
Barrel.Rotation = Vector3.new(Barrel.Rotation.X, -38.536, Barrel.Rotation.Z)
wait()
Barrel.Rotation = Vector3.new(Barrel.Rotation.X, -23.536, Barrel.Rotation.Z)
wait()
Barrel.Rotation = Vector3.new(Barrel.Rotation.X, -3.536, Barrel.Rotation.Z)
Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 09:09 PM
hey maybe

Report Abuse
Bitwyl is not online. Bitwyl
Joined: 15 Nov 2014
Total Posts: 7276
19 Feb 2017 09:12 PM
@hask

the one i was using was making it go straight up and down, but was like 2 digits off the original y when coming back down.

the one you made was making it recoil sideways, and was still off from original position in y.
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