Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Bokaii · May 10, 2014 at 11:34 PM · parkour

Parkour Wall run

So guys, as the title kinda explains... I Want to make a Parkour game, FPS. I have tried this before but I couldn't make a Wall run function, so Im asking. How do I make the player go upwards when he hits the Wall or object? I know how to use raycast to detect if looking at and in range, so I only need the upward motion for now at least. I know you Can use the "transform.translate" but that makes the player almost teleport! So how do I make him go up smoothly?

Please help! Thanks!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image getyour411 · May 10, 2014 at 11:35 PM 1
Share

Did you search "unity3d wall walk"? I did and there are many previous questions, answers, tuts, vids, code snippets etc.

If you are actually implementing something in code, then post it along with the issue.

avatar image Bokaii · May 11, 2014 at 05:52 AM 0
Share

I haven't searched that exactly, no. But I have tried to find it so many times! For like... 2-3 months, and I haven't found anything! but of course, I will try to search that

Thank you for your answer! :)

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by gdubrocks · May 11, 2014 at 05:54 AM

To make anything move smoothly you need to use the Lerp() function. It linearly interpolates (moves slowly) between two points.

https://docs.unity3d.com/Documentation/ScriptReference/Vector3.Lerp.html

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bokaii · May 19, 2014 at 06:39 PM 0
Share

Thank you, I'll try that :)

avatar image Bokaii · May 19, 2014 at 08:48 PM 0
Share

I've tried to look a little at the lerp Thing, but it only does the same Thing. Teleport the player. Well at least for me it does. - could you give me an example of the script? That would really be Great! :)

Thanks :D

@gdubrocks

avatar image gdubrocks · May 20, 2014 at 03:20 AM 0
Share

http://unity3d.com/learn/tutorials/modules/beginner/scripting/lerp

avatar image
0

Answer by VenomDestroyer · Mar 05, 2015 at 05:14 PM

what i did was add a 0.4f delay before it would "teleport" and in that time i have a animation that starts and as soon as it teleport it looks like it realy was pulled up there is a few more lines that let it know that "ClimbAnim" is and "cam" but thats where it tells where to animate and when to wall climb

        function Climb()
 {
 cam.animation.CrossFade(ClimbAnim);
 yield WaitForSeconds(0.5f);
 Player.transform.position.y = CheckRay.transform.position.y + charCont.height + 0.1;
 Player.transform.Translate(0, 0, distanceToGoFwd + 0.3);
 Translate = false;
 }
  
 function Changing()
 {
 yield WaitForSeconds(0.3f);
 CanParkour = true;
 }
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by iuripujol · Feb 19, 2018 at 11:26 AM

https://drive.google.com/open?id=14pbaelY8hQM7frhMNYIEkf_DDlds3ub_

This is just a small sample of my work regarding parkour mechanics in FPS (with full body awareness).

Contact me if you need some help: iuripujol@gmail.com.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

A node in a childnode? 1 Answer

Wall Running/Climbing (no animations) 0 Answers

Movement Script Help 1 Answer

C# Plane Detecting a Gameobject 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges