|
| 03 Apr 2017 12:57 PM |
I want for if theres like a incompletion,safety,or any play for the AI to just stand still but face ball and do an animation.
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 03 Apr 2017 01:02 PM |
Constantly set the CFrame of the AI's HumanoidRootPart (or torso) to
local root = AI.HumanoidRootPart local ball = workspace.Ball -- or something while wait() do root.CFrame = CFrame.new(root.CFrame.p,CFrame.new(ball.CFrame.X,root.CFrame.Y,ball.CFrame.Z).p) end |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2017 01:05 PM |
How about for the animation? once the GUI says "Incompletion" on screen or "Touchdown" stuff like that.
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 03 Apr 2017 01:05 PM |
Loading an animation into an NPC is a bit of a different story. You'll need an Animation Controller and review of this article wiki.roblox.com/index.php?title=Animations#Playing_Animation_in_Non-Player_Character |
|
|
| Report Abuse |
|
|