#detect a player that is in air

12 messages · Page 1 of 1 (latest)

digital grail
#

this might sound silly but i would like to know how i can detect a player when they jump in the air.
i am working on a volleyball game as a little side project and i would like to know how to detect a player when they jump in the air. i want it this so it can be possible for the player to hit the ball. instead of just jumping the air and just falling down.
i tried researching about it but i got no where.

worldly python
#

i only know some stuff about coding but you can make a part that they reach once they jump, and you should make a script that says "hey this guy is in the air (aka touching the jump part)" and if you have any sort of vertical elevation this wont work

digital grail
#

imma get done animating first and i will try that

rare flowerBOT
#

studio** You are now Level 1! **studio

worldly python
#

you would have to remove any vertical elevation in the game

#

or if you only want it to detect in a court only put the part hovering over the court

digital grail
worldly python
#

i've seen games make a entirely different experience/place for practicing so they can interfere with everything without touching the actual real game

rare flowerBOT
#

studio** You are now Level 3! **studio

past loom
#

So humanoids have an event called jumping and has a parameter called isjumping which translates into a bool you can just do while is jumping or whatever you want to do I don’t understand what your goal is but this answers your question

worldly python
#

you can do that way too