#sliding in visual scripting
1 messages · Page 1 of 1 (latest)
The second paragraph can reflect expectations that could potentially alter the way people decide to help or ignore you.
Anyways - can you elaborate further with "slide mechanic"?
If its a thing like in call of duty or cyberpunk 2077...
Pressing crouch while sprinting makes player slide...
Then that's the logic you translate into uVS.
Using a bool (isSprinting) that turns true after pressing shift (or while holding shift)
And on release that bool turns off
Then - input on Crouch if isSprinting is true, then activate the logic of slide.
Once logic of slide is activated, you trigger animation so your character looks like its sliding.
Make changes as required like changing collision box/capsule to match animation size (usually smaller)
Add particle effects of dust trails, sound fx, etc
And any additional logic if needed
Like in kirby slide - it actually hits enemies and bounce back, so it requires other stuff
Yes, the second paragraph made me less-inclined to help lol.
But yeah, I'm not that petty, what Litoid said, need to know what you mean by slide mechanic.
Slide as in on a playground? Or sliding under objects? Or making surfaces slippery? Making objects slide off a tabletop?
Also assuming you mean like CoD or Cyberpunk, it depends how your character controller works. And whether you're leveraging animator/root-motion or not, whether your controller is physics-based or not, etc.