Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

brunogysin

Parachute Script for Character Controller[JS]

Recommended Posts

Hi =)
This is a simple script parachute,
use J to activate the parachute
is quite simple and easy to understand.
 
 

pt-BR

 

Ola

esse e um simples script de paraquedas,

fácil de entender,

use a tecla J para ativar o paraquedas,

qualquer duvida e só postar aqui.

Please login or register to see this code.

Thanks, vlw.

  • Like 7

Share this post


Link to post
Share on other sites

Looks good, although you didn't mention that you require a character controller and character motor.

Share this post


Link to post
Share on other sites

I think you should change the maxFallSpeed of the character when he is not in a parachute (20) because when you reach 20 m/s2 then it will appear as if you are stalling and not falling any faster.

Share this post


Link to post
Share on other sites

Sounds pretty sweet. Bookmarking this one so I can hopefully put it to use.

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

This script simply the base that I used to add to my script

I had noticed this

with the parachute off it falls slowly with maxFallSpeed = 20

basically only change

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

 

You may be happy, but I hate it. I have to convert every javascript file to C#! Plus the javascript to C# converter is a bit messy so I convert it using my brain (which is even more frustrating).

  • Like 1

Share this post


Link to post
Share on other sites

I'd add acceleration to the script (to show the player reaching terminal velocity) if you want ultimate realism. Plus the approximate terminal velocity of a person falling with a parachute is 8 metres per second (18mph)

Sorry I like physics...

  • Like 1

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

I know exactly how you feel, i use JS and i have to convert so many C# to JS

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

That was over a year ago, now my views has changed :)

 

Now instead of downloading and using other scripts, I write my own! Brilliant idea?

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Wtf you are converting C# to JS why  #-O  X_X C# is much more advancer than JS I don`t quite get it also there are some function in C# that are not avalible in JS.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...