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 RTpatrick09 · Dec 02, 2011 at 08:45 PM · colliderplayerjumpbouncecollide

My Player keeps launching into the air

Hi. I am new to unity3d, but am catching on relatively quickly. not too good at code though, mainly artistic aspects to game creation. Anyway - i am using a capsule as a First Person character.. it has a capsule colluder as well. I am using the move script i found somewhere on unity... my problem is

every now and again when I am walking, i will get launched high into the air, often tree height. Its not my jump, because when I press space my jump is only a meter or so.

please help????

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

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Owen-Reynolds · Dec 03, 2011 at 07:53 PM

You write that you have a capsule collider. The character controller script is meant to be used on something with a characterController component on it, but not a collider or rigidbody (if the script says "error -- can't find char controller" when you put it on a cube, it's a charController script.)

The green capsule you get when you add a charController component looks like a capsule collider, but it works differently and they aren't interchangable.

Things like falling rocks do need a rigidbody plus collider to move around. charControllers replace them both to give more "player-like" movement.

Comment
Add comment · Show 1 · 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 RTpatrick09 · Dec 03, 2011 at 10:51 PM 0
Share

thanx :) i had 2 colliders :) getting rid of the capsule colluder did the job

avatar image
0

Answer by bula · Dec 03, 2011 at 01:41 AM

Can you give us the script cause its just like asking: Heloo! i have an animal and i dont know with wht to feed him... I will gladly help you if you will show me the script Ty

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 RTpatrick09 · Dec 03, 2011 at 11:37 AM

hi.. sorry :) I'm using the default character controller...the character motor, and platform input controller on my capsule. turns out i am not using the script i found online after all, they are all scripts that come with unity. On my cam I am using mouse look, this combination of scripts is the only one that got me the desired outcome... except for the issue in question (which is occurring less frequently now) ...

so all those scripts are inside unity.

Comment
Add comment · Show 1 · 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 syclamoth · Dec 03, 2011 at 11:40 AM 0
Share

By 'inside unity', you mean 'Standard Assets', right? Everything ends up 'inside unity'.

avatar image
0

Answer by mrTallents · Jan 24, 2012 at 10:06 PM

Hi, I actually want this launching in the air to happen to my player, but not sure how to go about it!

In the game Halo, there are these kind of catapult/booster/launch pads that when the player runs over them, will launch them into diagonally in to the air and with forward speed across the game arena. (Sorry i'm not sure of the correct name for them)

I was thinking of placing a game object with a constant force but not sure this will work. The other option i thought of was to trigger the force in the character controller script on collision with the object, but didn't want to mess about in there really!

I haven't tried it yet because im working on a different area of my project it this moment in time but just starting to collate ideas for this next segment, any advice will be most appreciated.

Thanks in advance

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

6 People are following this question.

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

Related Questions

Check if player is colliding with top face of box collider? 1 Answer

Have script detect which collider 2 Answers

Sphere Goes Crazy 3 Answers

Falling Damage 1 Answer

Jumping from a floor to another floor (2D) 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