Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question How can I make the player slide?

Discussion in 'Visual Scripting' started by Frosty_22, Sep 5, 2022.

  1. Frosty_22

    Frosty_22

    Joined:
    Aug 21, 2021
    Posts:
    4
    This might be a dumb question but I can’t seem to find a answer to it so I’m gonna ask. How do I make my player slide using bolt? Because when I do it I use rigid body add force to add force when the player presses the slide key. But when I have a rigid body for some reason my player capsule just starts wobbling around when j press wasd. So I tried using kinematic but then the add force won’t work. I tried set velocity but it’s not working. Is there someone who can help with this problem?
     
  2. POOKSHANK

    POOKSHANK

    Joined:
    Feb 8, 2022
    Posts:
    14
    stick with add force and make sure you lock the rotation and positions you need to in inspector to prevent unwanted movement
     
  3. Frosty_22

    Frosty_22

    Joined:
    Aug 21, 2021
    Posts:
    4
    Thank you for the help. Sliding is working better. I just need to make the transition more fluent. Does Unity vs have itween or no?
     
  4. POOKSHANK

    POOKSHANK

    Joined:
    Feb 8, 2022
    Posts:
    14
    nothing built in by default you’ll have to add support or use only vs
     
  5. Frosty_22

    Frosty_22

    Joined:
    Aug 21, 2021
    Posts:
    4
    Ok