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
 

Re: how do i make the character face a part continuosly

Previous Thread :: Next Thread 
Vaqxus is not online. Vaqxus
Joined: 18 Dec 2016
Total Posts: 1087
15 Feb 2017 09:19 PM
in spite of any movement or disorientation
Report Abuse
pwnion is not online. pwnion
Joined: 03 Jan 2017
Total Posts: 117
15 Feb 2017 09:20 PM
while wait() do
(code to make the character face a part)
end


that's all I know
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
15 Feb 2017 09:23 PM
character:SetPrimaryPartCFrame(CFrame.new(character.Torso.Position, target.Position))
Report Abuse
Vaqxus is not online. Vaqxus
Joined: 18 Dec 2016
Total Posts: 1087
15 Feb 2017 09:28 PM
@Mister, that line makes me get stuck in the ground when i jump or fly away when im spawning
Report Abuse
crome60 is not online. crome60
Joined: 22 Nov 2008
Total Posts: 15266
15 Feb 2017 09:46 PM
You can use BodyGyro too.

bodyGyro = Instance.new("BodyGyro", character.Torso)
bodyGyro.maxTorque = Vector3.new(0, 0, 0)
bodyGyro.D = 50
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
15 Feb 2017 10:01 PM
https://www.youtube.com/watch?v=hbD3F_EfRCA


Report Abuse
Vaqxus is not online. Vaqxus
Joined: 18 Dec 2016
Total Posts: 1087
16 Feb 2017 12:51 AM
Holy crap Soy I have been struggling to do that thing for hours... Thanks!
Report Abuse
Bobby_Darin is not online. Bobby_Darin
Joined: 05 Jan 2013
Total Posts: 5587
16 Feb 2017 12:56 AM
Using a BodyGyro would probably be a better idea, because you let the physics engine handle it (generally a good thing) instead of unnecessarily updating the root part CFrame yourself. Either work perfectly fine though
Report Abuse
Vaqxus is not online. Vaqxus
Joined: 18 Dec 2016
Total Posts: 1087
16 Feb 2017 12:59 AM
Just wondering why use the root part instead of, for example, the torso?
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