Results 1 to 4 of 4

Thread: Trouble with colliders -- how to get objects to fall into a box?

  1. #1

    Trouble with colliders -- how to get objects to fall into a box?

    I'm trying to create a box to contain game objects. It must be quite simple but I haven't got it yet. I imported an open wooden crate object, basically a cube with the top missing. When I dropped objects onto it, they just sat where the top would be. So I made a collider mesh, attached it to the crate when importing, and checked "non-convex." But objects still sit on top. They cast a shadow on the bottom of the box, but they don't fall in. What simple factor am I missing? Thanks. temp collider import dialog.jpgcollider problem.jpg

  2. #2
    I think there may be a bug in TTS related to this. I had a similar issue to this when I made a wall and floor tile (basically a L shaped bracket). Even though the Collider matched the mesh, TTS was modifying the collider shape as if it was a ramp.

    Possible Workaround: If you don't care about collisions with the walls of the box, add a flat tile Collider. This worked for me. But, of course, that doesn't work for all content.

  3. #3
    Thanks. I might try a flat collider, but it would be strange to have the pieces able to fly through the walls. I suppose that wouldn't happen as long as the lift height is higher than the walls of the box.

  4. #4
    Are you just using the Model Import? If so, you can also try making the same object as a Unity assetBundle to see if that gives different results.

Similar Threads

  1. [SUPPORT] Round objects have box colliders
    By BlushingBryde in forum Technical Support
    Replies: 0
    Last Post: 09-04-2018, 09:21 AM
  2. takeObject is taking objects with their colliders on
    By MrStump in forum Scripting Bug Reports
    Replies: 16
    Last Post: 01-21-2018, 04:45 PM
  3. Objects that don't fall over?
    By WoodVTier in forum Scripting
    Replies: 4
    Last Post: 10-15-2016, 04:57 PM
  4. [SOLVED] Bug/Problem; pasted objects fall through other objects.
    By PsiComa in forum Technical Support
    Replies: 4
    Last Post: 02-18-2016, 07:42 AM
  5. Replies: 5
    Last Post: 07-21-2015, 12:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts