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 KM Studios · Aug 29, 2012 at 01:13 AM · fpsfreeslidefalloff

Player fall away from mountain edge without slide?

So, I am using the enhanced FPSWalker script from the unify community. And I have my player slide when the slopelimit is reached so he slides down steep things. But, I really want to find a way for him to actually fall off a cliff. I have an extremely tall mountain face, and when he steps over the edge he literally slides down the whole thing, and this prevents an actual free fall or fall of any type and prevents fall damage. The fall damage I have works only from straight impacts downwards and with this slide it does not happen. If I take off sliding he will unrealistically fall a few feet down the mountain, which is worse.

I have been theorizing in my head on a script for him to have extra displacement from the mountain (x or z i guess) so that he falls away from the mountain.. Kind of like that one game Just Cause 2, if you have played it, the character falls away from the cliffs by a little bit, and starts to free fall. I am making a FPS so the character does not need to rotate forward, or ragdoll down the mountain, but simply fall away from it so that he gets a good fall time (I'll be adding a wind sound for this and then of course the player gets injured according to my damage script like he should on impact)

My main question would then just be how I could begin to create a script that will push him away from the mountain? Maybe, using his last movement and increasing it? (Like if he moved left right forward or backwards off the cliff, then increase that distance so he falls the right way off)

Thanks for any help in advanced! :D

Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

7 People are following this question.

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

Related Questions

Terrain collider is inversed! 0 Answers

How do I make my FPS not fall throgh the terrain? 1 Answer

How to make a helecoper attack 0 Answers

How to import Unreal animations to Unity? 1 Answer

best free fps assets 2 Answers


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