#Grabbing objects only when you’re actively touching them?

1 messages · Page 1 of 1 (latest)

hardy anvil
#

I’m trying to make a realistic basketball game and I’m butt at CV2, it makes my brain hurt. So I’m kindly asking if anyone has the circuit for a basketball that can only be picked up when it’s touching your hand(s), and If you’re willing, walk me through it too.

calm forge
#

bruh. pc needs shift enter, ima edit

hardy anvil
#

gotchu

#

u got some images of the circuit? If u don’t I’ll figure it out

calm forge
calm forge
#

this is about it so far, gtg get dinner, prob not finished

hardy anvil
#

thank you

hardy anvil
#

alright

#

are you still eating or? Because If you’re not finished I’d like to ask if you can finish it for me. Take your time

keen chasm
#

never understood it

hardy anvil
#

@calm forge

#

I don’t mean to rush you, I’d want to make you aware

#

my bad

hardy anvil
#

I guess the circuit detects hand position and depending on where the player’s hands are it will give the ball a tag that can allow the ball to be grabbed

#

and remove it as well

calm forge
calm forge
#

its not like sumn well known i kept on to xD

hardy anvil
#

I’m testing it out rn it looks like it’s not working

#

I’m gonna look over it

calm forge
calm forge
#

only thing not tested is multiplayer

#

and keep in mind this wont be very screenmode friendlly, i have to lay down which is quite annoying

calm forge
hardy anvil
calm forge
# hardy anvil tragic

got it working, but can still error out net heat bc tags suck. Would you rather have it unequipt if disance at grab was not less than radius? That might work better though visually deceiving

#

theres another way tho, ill try that instead

calm forge
#

@hardy anvil
Oki. now this works. It may or may not be too specific for the looping i was initially trying to do (but theres probily a way to, in which the way to is alot more clear now theres a working way in mind), but ye, this more straight forward & shouldnt overheat net (at least not easily unless players purposely go in and out of range as fast a possible)

#

just change "B" in the less or equals to what you'd like, im on screen so i did 0.5 to be more convient. 0.2 maybe more around the range your looking for

hardy anvil
#

Alright I’ll be trying it this afternoon

hardy anvil
#

@calm forge

by any chance could you spread the circuits out so I can clearly see what goes where? And also, is there any setup you have to do before? Like roles n stuff like that?