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: help with body movers

Previous Thread :: Next Thread 
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
07 Sep 2015 10:43 AM
how would I make something go in the direction that it is facing

for example if a block was rotated by 50 degrees on the x axis how would I get it to move towards where it is facing, using body movers?

please help
Report Abuse
East98 is not online. East98
Joined: 17 Jun 2012
Total Posts: 418
07 Sep 2015 10:47 AM
Body thrust
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
07 Sep 2015 10:47 AM
thnx dude
Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
07 Sep 2015 11:19 AM
local SPEED = 50 -- Determine a speed.
local Dir = Part.CFrame.lookVector -- Get direction part is facing
local Vel = Dir * SPEED -- multiply by speed

Part.BodyVelocity.Velocity = Vel -- stuff into a BodyVelocity
Part.Velocity = Vel -- also into Part's Velocity



Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
07 Sep 2015 12:05 PM
yeah the body thrust didn't work


hopefully this one does
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