|
| 14 Nov 2012 01:46 AM |
| Which body force goes in the direction of the look vector? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Aerideyn
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 1882 |
|
| |
|
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 |
|
|
|
| 14 Nov 2012 09:45 AM |
bodyThrust.Location = part.CFrame.lookVector * 2 bodyThrust.force = 1000 |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2012 09:46 AM |
woops force should be a vector3 like this :
Vector3.new(1000,1000,1000) |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 14 Nov 2012 10:09 AM |
| Aerideyn answered it pefextly. |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 21 Mar 2011 |
| Total Posts: 1368 |
|
| |
|
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 |
|
|