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
 

I'm making a better animation plugin.

Previous Thread :: Next Thread 
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
29 Jul 2014 10:01 PM
Roblox's animation plugin sucks. It's glitchy, and hardly works. I'm making a better one. Anyone wanna help?
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
29 Jul 2014 11:18 PM
how do u expect to do that
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
29 Jul 2014 11:40 PM
looks like the type of guy who has great intentions but always overachieves
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
29 Jul 2014 11:41 PM
not overachieves, dreams high
Report Abuse
Juddily is not online. Juddily
Joined: 24 Aug 2008
Total Posts: 4243
30 Jul 2014 01:31 PM
It's not that hard, actually.

There are only a few classes involved in animation:
KeyframeSequenceProvider (Service)
Animation (Instance)
KeyframeSequence (Instance)
Keyframe (Instance)
Pose (Instance)
Humanoid (Instance)
AnimationTrack (Instance)

To play an animation:
1.) Create a new "Animation" class.
2.) Set the animation's animationId to the return value of game.KeyframeSequenceProvider:RegisterActiveKeyframeSequence() with a single argument of your keyframe sequence that you want to load, or another animation ID that you already know.
3.) Call the LoadAnimation method of a humanoid that you want to run the animation on with the argument of the animation.
4.) The call the to LoadAnimation will return a AnimationTrack object. Use this objects methods to affect how the animations plays.
5.) call the Play() method of the AnimationTrack Object.

How to create an animation (Keyframe Sequence)
1.) Set the CFrames of a character model.
2.) Create a Pose Object for each limb
3.) set the Pose object's cframe to the cframe of the object.
4.) I think that the Pose's name must be the name of the limb (I'm not sure, but I think so)
5.) Create a KeyFrame object
6.) Use the AddPose() method of the keyframe object to add all of the poses.
7.) Create keyframes for each turning point in the animation.
8.) Create a KeyframeSequence Object.
9.) save all Keyframes to the KeyframeSequence object using the addKeyFrame() method of the KeyframeSequence.
Report Abuse
databrain is not online. databrain
Joined: 01 Jan 2013
Total Posts: 3342
30 Jul 2014 02:59 PM
This is wonderful.

Because I am making one right now as well..


It saves the animations as a JSON string, is free to upload, and works with anchored parts.

What more could you want?
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