#I need help on how to make TF2 Weapons but more Original
1 messages · Page 1 of 1 (latest)
like this
if it’s rotation is in the red you would have it as false and no set velocity
and if it’s in the green it would be true you could set velocity
@mystic hedge
i’m curious… how?????
wdym
it’s just a visual representation of the get rotation chip
i forgot what value it was
it would of made my sense if i said it like that
Like x y z w
forgot which rotation it is
i didn’t say i was gonna help i just gave you the info and a tip to make one of the gun things
you don’t need half those chips
is the turret automatic?
or player handled
use a raycast
I’d say don’t check the angle it’s aimed at
A better solution would be to get distance from the hit location or directly from the (assumably present) explosion emitter
Forward vector and position of rocket launcher -> raycast with range of your choice
If raycast hits, get [player position - raycast hit position], then multiply by a number of your choice. This number changes blast force
Add velocity to player equal to the product of that last multiply, max speed is your choice
Get forward vector and position of handle to put into the raycast