|
| 19 Jan 2015 09:36 AM |
| I Want To Make My Mobs Always Face Their Target(Which Is Just Another Humanoid). However, i don't know how to make them turn to face the target once they're found. help |
|
|
| Report Abuse |
|
|
SLY3
|
  |
| Joined: 10 Jul 2008 |
| Total Posts: 1700 |
|
|
| 19 Jan 2015 09:41 AM |
Humanoid.WalkToPoint = player.Torso.Position
If you're using Humanoid for the mobs, then that's how most people make Humanoids walk. Maths already done for you :P |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2015 09:42 AM |
| i don't want the humanoid to walk to them, i just want them to face them. aren't i suppose to use bodygyros? i don't know how. help |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2015 09:43 AM |
| BodyGyros would be easiest. Set the cframe of the BodyGyros to be CFrame.new(Character.Torso.Position, Target.Position) |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2015 09:45 AM |
| okay i'm going to try it thanks :D |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2015 10:04 AM |
| is it just me or does roblox not allow you to put bodygyro's into torsos? |
|
|
| Report Abuse |
|
|
| |
|
SLY3
|
  |
| Joined: 10 Jul 2008 |
| Total Posts: 1700 |
|
|
| 19 Jan 2015 10:05 AM |
Idk, you can just use Torso.CFrame = CFrame.new(partToLook.CFrame,partToLookAt.CFrame)
That rotates the torso to look directly at the partToLookAt |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2015 10:09 AM |
Actually that doesn't. You made a small mistake :P You need this.
Torso.CFrame = CFrame.new(torso.CFrame, partToLookAt.CFrame) |
|
|
| Report Abuse |
|
|