edenDedenJoin Date: 2016-07-29 Post Count: 370 |
well i have no idea how to get players mouse from the server script
i have a local script inside a tool witch fires a script in workspace and that where i stuck at i have no idea how to make a the bullet fly to mouses position any help?
|
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
read up on bodyvelocity and also when making a gun i suggest go on youtube and search up
Protoduction making a gun
This is siggy. He does not like people. He will bite. |
|
RogueMageJoin Date: 2012-01-28 Post Count: 1235 |
When a player clicks, send a request to the server to fire a raycast out of the gun's barrel straight forward (most realistic way to do it)
If the raycast is touched, do dmg
boom |
|
|
"read up on bodyvelocity"
He said an FE gun, not a 2009 gun. Nowadays we use raycasting.
Projectile guns are laggy, unreliable, and stupid.
|
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
"Projectile guns are laggy, unreliable, and stupid."
then your computer is trash because mine computer works perfectly fine with Projectiles, considering you don't always have to use it, for me it's just a faster way to script it.
This is siggy. He does not like people. He will bite. |
|
|
^lol no
raycast is always better
sure you can make a fake part to represent the projectile, but raycast is way more reliable
im a mlg |
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
cuz u cheap, u make raycast cuz its easier, but looks terrible if you do it wrong.
This is siggy. He does not like people. He will bite. |
|
|
projectiles too unreliable in roblox
if you have a small projectile moving more than 60 studs/sec it won't register hits 100% |
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
.-. dude you can add projectiles as an effect, using raycast to get the hit exactly, or you can run the projectile along the raycast too.
This is siggy. He does not like people. He will bite. |
|
devHoodieJoin Date: 2008-11-04 Post Count: 30332 |
Perilous is right
I had a projectilve based gun system but half the time they wouldn't be detected as hitting something
raycast is 100% better
r+://487783315r+://467523707r+://215869124 |
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
rip Stylis Studios then.
This is siggy. He does not like people. He will bite. |
|
hasang1Join Date: 2012-11-09 Post Count: 903 |
@Mr
I'm QUITE sure the people at Stylis use raycasting for projectiles, not any bodymover.
And raycasting doesn't always mean to make a lazergun.
Stop, hammertime. |
|
Mr_PureJoin Date: 2015-06-28 Post Count: 2482 |
"or you can run the projectile along the raycast too." smh
This is siggy. He does not like people. He will bite. |
|