|
| 08 Aug 2017 03:02 PM |
Say you made your player bigger with the R-15 body scales, your animations would be very fast. Is there a way to slow them down? Thanks.
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|
HeIix
|
  |
| Joined: 19 Jan 2013 |
| Total Posts: 253 |
|
|
| 08 Aug 2017 03:04 PM |
AnimationTracks have the property :AdjustSpeed
http://wiki.roblox.com/index.php?title=API:Class/AnimationTrack/AdjustSpeed
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2017 03:12 PM |
How would I use these lines?
void AdjustSpeed ( float speed = 1 )
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|
HeIix
|
  |
| Joined: 19 Jan 2013 |
| Total Posts: 253 |
|
|
| 08 Aug 2017 03:14 PM |
Once you have the animation loaded into the animationtrack, just do
AnimationTrack:AdjustSpeed(speedhere)
of course, replace AnimationTrack with the name of your animationtrack
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2017 03:21 PM |
So, I did this.
WalkAnim:AdjustSpeed(10)
10 to see if it would work.
But, it still doesn't work, am I missing something?
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|
HeIix
|
  |
| Joined: 19 Jan 2013 |
| Total Posts: 253 |
|
|
| 08 Aug 2017 03:23 PM |
Did you define an animation and then load it onto the animationtrack beforehand?
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2017 03:26 PM |
local WalkAnim = script.Parent
WalkAnim:AdjustSpeed(10)
Like this?
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|
HeIix
|
  |
| Joined: 19 Jan 2013 |
| Total Posts: 253 |
|
|
| 08 Aug 2017 04:47 PM |
No, to load an animation you have to do something like this
local animation = Instance.new("Animation") animation.AnimationId = "insertanimationidhere"
local animationTrack = player.Character.Humanoid:LoadAnimation(animation) animationTrack:AdjustSpeed(speedhere)
animationTrack:Play()
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2017 04:48 PM |
So, I cant modify a walk animation without making a new one?
Not like animating a new one.
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|
HeIix
|
  |
| Joined: 19 Jan 2013 |
| Total Posts: 253 |
|
|
| 08 Aug 2017 04:54 PM |
Well, you could modify the default walk animation, but you'd have to edit roblox's basic animate script for that
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2017 04:55 PM |
k
R+://899893970 "I'm just another Yoshi..." [ATR] |
|
|
| Report Abuse |
|
|