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 g1i1ch · Mar 02, 2013 at 01:22 AM · javascriptphysics

Best way to go about having many fast objects with physics

I'm making a game right now that makes extensive use of physics. It takes place inside an arena with walls that can be bounced on. Within it are small objects, very simple that all bounce around the arena moving pretty fast and bounce off the player too.

There won't be too many of these objects as play becomes impossible if there are about 150 or more. I'm testing it out and I repeatedly see these small objects pass through the player or arena walls and are lost. It's very important that they not be let to escape the arena because well, they're the basis of the gameplay.

I wish I could elaborate more but that's all there is to it, basically small cubes bouncing around only on the x/y axis inside an arena with walls.

Comment
Add comment · Show 4
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 ByteSheep · Mar 02, 2013 at 01:29 AM 0
Share

And your question is... ?? Your title suggests you would like a way to keep track of all the objects you instantiated that have a rigidbody. However I don't see exactly how this will be useful, what exactly is your question?
The reason the objects are flying through the walls is because they are moving too fast and the collision isn't detected properly.

avatar image g1i1ch · Mar 02, 2013 at 01:34 AM 0
Share

poor choice of words in hindsight, but basically is there any way to increase the accuracy? Part of the game is that things are so hectic and moving fast, forcing you to avoid them.

avatar image ByteSheep · Mar 02, 2013 at 01:49 AM 0
Share

You can have a search around, there have been alot of questions on this topic. Here's an example

avatar image g1i1ch · Mar 02, 2013 at 07:29 PM 0
Share

Hmm basically just make everything thicker it seems. If I increase the scale (not by scaling it, doing it within the inport settings) of everything might it increase accuracy?

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

10 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

Related Questions

How to make a glue gun? 1 Answer

driving game power ups 1 Answer

I am having a problem trying to simulate football(soccer) physics 2 Answers

can anyone help me stop a rigidbody from rotating around its z axis 1 Answer

Making roller coaster need help. 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