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 » Scripting Helpers
Home Search
 

Re: lookVector Body Force..?

Previous Thread :: Next Thread 
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
14 Nov 2012 01:46 AM
Which body force goes in the direction of the look vector?
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
14 Nov 2012 01:50 AM
Bump.
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
14 Nov 2012 02:23 AM
Bump..
Report Abuse
Aerideyn is not online. Aerideyn
Joined: 16 Jan 2010
Total Posts: 1882
14 Nov 2012 03:41 AM
BodyThrust.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
14 Nov 2012 06:14 AM
Very vague.

Is this what you want?

BodyVelocity.velocity = part.CFrame.lookVector * Velocity
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
14 Nov 2012 09:45 AM
bodyThrust.Location = part.CFrame.lookVector * 2
bodyThrust.force = 1000
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
14 Nov 2012 09:46 AM
woops force should be a vector3 like this :

Vector3.new(1000,1000,1000)
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
14 Nov 2012 09:52 AM
force with floating:
force = 1
BodyForce.force = Torso.CFrame.lookvector*force*Vector3.new(0,196*14,0)

force without floating:
force = 1
BodyForce.force = Torso.CFrame.lookvector*force
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
14 Nov 2012 09:53 AM
plz forget the first post...

force with floating:
force = 1
BodyForce.force = Torso.CFrame.lookvector*force+Vector3.new(0,196*14,0)

force without floating:
force = 1
BodyForce.force = Torso.CFrame.lookvector*force
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
14 Nov 2012 10:09 AM
Aerideyn answered it pefextly.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
14 Nov 2012 11:59 AM
Oh, your question was super vague, surprised he figured out what you meant.
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
14 Nov 2012 12:09 PM
haha ikr :P
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
14 Nov 2012 12:13 PM
Well, more misguiding than vague, I suppose.

Anyway, "BodyForce", "BodyVelocity", etc., we call these "Body objects".
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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