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: So, how do I make animations on non-humnaoid objects?

Previous Thread :: Next Thread 
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
27 Jul 2016 11:39 PM
Phantom Forces did it with their guns, I need to know how. Please and thank you.


Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
27 Jul 2016 11:43 PM
You can lerp a part.

local cf1=part.CFrame --Original CFrame
local cf2=part.CFrame*CFrame.new(0,50,0) --To new CFrame (50 studs in the air).
for i=0,1,0.2 do
local cf=cf1:lerp(cf2,i)
part.CFrame=cf
wait()
end

This will make the part travel in a smooth transition 50 studs in the air.
This method can also be used for animating.


Report Abuse
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
27 Jul 2016 11:47 PM
Yes, but shaylan said they use actual animations. They simply do :Play() whenever the gun fires. How to?


Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
27 Jul 2016 11:48 PM
AnimationControllers work iirc. Read the wiki page on animations.
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
27 Jul 2016 11:48 PM
I don't have a copy of phantom forces so I don't have the slightest clue. Go ask Shaylan.


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
27 Jul 2016 11:51 PM
local cf1=part.CFrame --Original CFrame
local cf2=part.CFrame*CFrame.new(0,50,0) --To new CFrame (50 studs in the air).
for i=0,1,0.2 do
local cf=cf1:lerp(cf2,i)
part.CFrame=cf
wait()
end
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
27 Jul 2016 11:52 PM
@oscree

No need for the copying and pasting to try and get your pg'ed account a high post count.


Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
27 Jul 2016 11:54 PM
LOL.
Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
27 Jul 2016 11:56 PM
Are you one of those pedantic novices who rewrites everything each time a component is needed?

puu.sh/qh5DP/a8b0ae9150.png
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
28 Jul 2016 12:01 AM
"Are you one of those pedantic novices who rewrites everything each time a component is needed?"

Your not adding any components onto the code.


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:04 AM
What do my commenting habits have to do with this?
Report Abuse
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
28 Jul 2016 12:05 AM
Guys, I need a way to create animations onto objects without humanoids. Roblox Animation Editor isnt working, and yes I've added Motor6d's. The parts simply dont move for some reason.


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:05 AM
If you named your GUI 'tag', there is no reason why my script would not work.
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
28 Jul 2016 12:06 AM
"What do my commenting habits have to do with this?"

"commenting"
copying and pasting*


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:08 AM
That was the most illogical attack I've ever seen. Let me ask again: what do my commenting habits have to do with this? If you have any questions about how my code works, feel free to ask. I write few comments because to me, at least, my intent is clear, and I cannot predict confusion others might run into.
Report Abuse
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
28 Jul 2016 12:11 AM
The CFrame wont hurt, because the tool is a part, which shakes the player around with it. Unless there is a way to fix this im not aware of?


Report Abuse
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
28 Jul 2016 12:12 AM
wont work*


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:14 AM
Ah, then you must instead change the shoulder C0 accordingly.
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
28 Jul 2016 12:17 AM
"my code"
'my'
Lmao.

God this reminds me of that quote off phantom forces:
"When arguing with idiots they will drag you down to there level and beat you with experience".
For this reason, this is the last post I will make against you.

"illogical attack"

An attack? Don't get so sensitive, I'm literally just typing that your copying and pasting other peoples post, which is exactly what your doing.

"what do my commenting habits have to do with this?"

Your not commenting, your copying and pasting other peoples posts. If this is a habit then you have serious issues.

"I write few comments because to me, at least, my intent is clear, and I cannot predict confusion others might run into."
Your not writing them, your copying other peoples posts, is that intent not clear enough for you?

Evidence:
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=194747263
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=194747981

Your not tweaking these scripts, your copying them letter to letter.
( ͡° ͜ʖ ͡°)


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:20 AM
If that is how you feel then why did you bring up comments in the first place? I can't take you seriously when you are using quotes from a game and improperly punctuating.
Report Abuse
InfiniteYield is not online. InfiniteYield
Joined: 01 Mar 2012
Total Posts: 762
28 Jul 2016 12:31 AM
..Dangling participle, sir. You complain about grammar, yet do not know it yourself.


Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
28 Jul 2016 12:31 AM
I feel like this is the part when I'm supposed to drop a diss track on you........


Report Abuse
oscree is not online. oscree
Joined: 19 Dec 2008
Total Posts: 127
28 Jul 2016 12:40 AM
Please clarify my error, as well as the possibility of "knowing grammar."
Report Abuse
Milenveliki is not online. Milenveliki
Joined: 14 Aug 2013
Total Posts: 1097
28 Jul 2016 12:59 AM
Maybe they put the script for the animation in a function called "Play" :D
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