|
| 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 |
|
|
|
| 29 Jul 2014 11:18 PM |
| how do u expect to do that |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2014 11:41 PM |
| not overachieves, dreams high |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|