#How to Implement a 'Press Harder' Mechanic to Activate a Button and Open a Door

1 messages · Page 1 of 1 (latest)

hallow latchBOT
#

0929gabriel has been timed out for 10m mute
spacearrowRight Reason: Images/Videos Spam

lofty talon
#

when player comes in contact with button
if collider.y axis speed > [minimum fall speed before the button is actually pressed]
exitscript
[after the if do the button pressing stuff and yada yada]

#

phone is die

#

me can't

calm flint
#

just do it

#

grab "if", "[]=[]", and "collider attribute" (on the "When collision starts" green text, beside is "Known 'collider attribute'" )

#

put collider attribute on the first [], then change the self attribute and go to

components > general > physucs > speed > y axis speed

#

change the "=" to ">" by tapping it (the one in the middle of self attribute and [])

#

then type in the speed, and execute the script

#

so it would look like this

if collider y-axis speed > 5 then
(script for winning)

#

just didnt want to open je tahts all