LokHsuLi
|
  |
| Joined: 02 Feb 2013 |
| Total Posts: 136 |
|
|
| 07 May 2014 12:56 PM |
| guys, if I apply the Look.Vector for the shot, instead of the Mouse.Cursor, would there still be bullet drop??? |
|
|
| Report Abuse |
|
|
|
| 07 May 2014 01:21 PM |
| Roblox naturally has gravity which adds bullet drop. If you rely on Roblox's physics, and don't use Bodyvelocity(Or a similar object) then you should still have bullet drop. |
|
|
| Report Abuse |
|
|
LokHsuLi
|
  |
| Joined: 02 Feb 2013 |
| Total Posts: 136 |
|
|
| 07 May 2014 05:50 PM |
| and so then wat about the Look.Vector then, howw would I use it to make the Missile/Bullet go were the Barrel is pointing not the mouse??? cos my RPG has its thing at the side not at the middle, so if its at the middle of course it'll go wwere u aim, but so mines on the side and the Missile goes to the side as well... so plz help me... |
|
|
| Report Abuse |
|
|
|
| 07 May 2014 05:59 PM |
| Use the lookVector property of its CFrame. |
|
|
| Report Abuse |
|
|
LokHsuLi
|
  |
| Joined: 02 Feb 2013 |
| Total Posts: 136 |
|
|
| 08 May 2014 05:54 PM |
| lol sounds confusing... also, would the missile go in a straight line instead of were the mouse is pointing??? |
|
|
| Report Abuse |
|
|
LokHsuLi
|
  |
| Joined: 02 Feb 2013 |
| Total Posts: 136 |
|
| |
|
|
| 09 May 2014 06:21 AM |
think of lookvector as this: Whereever the brick is facing, it will go.
brick.CFrame = brick.CFrame*brick.CFrame.lookVector*2
the 2 is how many studs it goes in that direction it is facing.
|
|
|
| Report Abuse |
|
|
LokHsuLi
|
  |
| Joined: 02 Feb 2013 |
| Total Posts: 136 |
|
|
| 09 May 2014 01:05 PM |
| how would I replace it with the missile going with the mouse thing? cos every single weapon on Roblox has the weapon thing going with the mouse... and also, the range is different cos there's Bullet Drop, so would I put infinite amount on? and also, does it seriously work well with gravity? cos usually if something is set to go from somewhere in a straight line then it doesnt move up or down but just forward... |
|
|
| Report Abuse |
|
|