#velocity help (Punching)

1 messages · Page 1 of 1 (latest)

knotty ivy
#

Where you hit? Or the direction of the punch?

sacred hull
#

direction of the punch

knotty ivy
#

You can use get velocity with your punch, and Velocity add for the player

sacred hull
#

i tried it didnt work

knotty ivy
#

Can you send a picture

sacred hull
#

i removed the get velo before you asked but here

knotty ivy
#

Where was the get velocity

sacred hull
#

it was on the velo add, and i tried the lerp

#

but error

#

Player A is attacker
Player B is player that got hit

knotty ivy
#

Send the event with the velocity of the punch

sacred hull
#

i tried that

#

but i didnt know if the lerp was the punch velocity

knotty ivy
#

Idk what you’re doing with lerp

sacred hull
#

getting both finger directions as the velocity

knotty ivy
#

That’s not how you get velocity, just use Get Velocity

sacred hull
#

i can't get velocity of finger directions

knotty ivy
#

Get the velocity of their hand

#

Velocity is speed and direction not just direction

sacred hull
knotty ivy
#

You don’t need to get the velocity of that, you’ve already got the velocity

#

Just put that Into the velocity add

sacred hull
#

do i jsut add them together

knotty ivy
#

Add what

sacred hull
#

left and right hand velocity

knotty ivy
#

No, just use the velocity of the hand that punched your target

sacred hull
#

they both have that velocity

knotty ivy
#

Are you using two hands to punch

sacred hull
#

yea

knotty ivy
#

Ok, then just get the velocity of one of them, or the average of them both

sacred hull
#

wdym average

knotty ivy
#

Get the average velocity. Add them together and divide by 2

#

But you might just be better off by using one of them

sacred hull
#

by one of them do you mean 1 at a time

#

this system is so buggy bro

#

the only problem is the players A and B keep switching and it messes up

#

how do i fix it

knotty ivy
#

Is that a problem with the launch or punch system

sacred hull
#

the velocity

knotty ivy
#

What, how are they switching?

sacred hull
#

imma try my best to explain it

knotty ivy
#

It sounds like something with the punch system not the launch system

sacred hull
#

the punch system works fine

#

hits are detetcing

#

but the velocity acts weird

#

sometimes when i punch the following thing works

#

and sometimes i get sent backwards when i punch

#

and sometimes the punch pulls them to me

#

oh