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 Ashmouz · May 31, 2015 at 08:38 PM · collisionrigidbodycollider

Player Collision with objects (help)

Hey guys, I am facing this problem which my player instantly loses control of its gravity and starts spinning around after it collides with other objects. Both my objects and player use rigidbody and colliders. I tried changing settings and values in those components but nothing seems to solve it. OR Can I make a collision between 2 objects without rigidbody? or in other words without any physics or gravity applied? Thanks! Boarder Player

player.png (14.7 kB)
boarder.png (24.1 kB)
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

3 Replies

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

Answer by Vice_Versa · Jun 01, 2015 at 09:45 AM

There are a few options depending on what youre trying to do. if you dont want the player to be affected by the collision, turn on is Trigger on the collider for the other object and use OnTriggerEnter function in a script and program in what you want it to do. Or you could press that little arrow next to constraints and freeze the rotation for your player. or you could uncheck use gravity. Or your collider material could be the problem, try switching that on your player.

what is the player colliding with and how should it react after it has collided with the other object?

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 Ashmouz · Jun 01, 2015 at 01:16 PM

I have my player and the map boarders (which I created a cube and expanded it on each sides of the terrain). Now I want that when ever my player collides with my boarders, my player will be blocked. I tried freezing and rotating my player on all the axis but it still didnt work. However, Now I am looking for a solution that wont require my player to have a rigidbody but still be blocked by the boarders, Is that even possible? Or is there any other solution that my player will be blocked but it wont require any gravity or kinamatics? maybe a script? Also, I tried changing shapes of my player's colliders but it just keeps going worse. Thanks,

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 Ashmouz · Jun 01, 2015 at 01:17 PM

FIXED! I Freezed my player on position Y and all the rotation axis. Thanks

Solved


solved.png (9.6 kB)
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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Camera Collision Not Working 0 Answers

How do I pass through certain colliders but detect all collisions? 1 Answer

How to speed up? 3 Answers

Fast object on collider not working 1 Answer

GameObject sometimes collides, but sometimes goes through each other. 0 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