playMaker

Author Topic: Slide Ground Stomp  (Read 149 times)

welskein

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
    • https://www.flyingtogether.me/
Slide Ground Stomp
« on: July 22, 2020, 07:59:57 PM »

In my game I want the character to immediately hit the ground when I swipe down, while he's in mid air. I tried using translate and add force but both of those cause him to go through the floor or go to slow. What action could I use to get this to work?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5192
    • View Profile
    • jinxtergames
Re: Slide Ground Stomp
« Reply #1 on: July 23, 2020, 02:43:26 AM »
Hi.
Do you have a rigidbody on the character?

try velocity and also have a detection when hitting the floor to adjust the velocity.