- Home /
please help me with my collisoins
hi i made a game that is a platform and then has a maze on it and with the mouse you rotate the platform to get that ball in the hole but then i run into a problem wen i move to mouse to fast the ball falls trow the platform to the ground i tryd to use that DontGoThroughThings script but still not working for me please help me i have tryd every thing i know.my Ball is rigidbody and my platform i a mesh collider and tryd with box collider
Answer by Joshua · May 07, 2011 at 05:11 PM
When using DontGoThroughThings.js make sure your ball is on a different layer then the maze and select that layer as the default layer on the ball. Alternatively make all colliders thicker or make the maximum speed lower.
hi thank for the fast replay, but sadly it still not helping. :(
i tryd to make the colliders thicker i even added multiple colliders, and i cant add a max speed bebous it is the mouse so even if i make the speed slower then persone playing will then just move the mouse faster.
my platform script taks the X,Y pos of the mouse on the screen and then makes that the X,Z rotation . so if i ass max speed all it will do is make the it less sensitive.
I understand, but just add a max speed to the ball object I mean, so it cannot roll too fast.
the porblem is not the ball that is moving to fast its the platform. is you move the platform to fast the ball goes through the botem of the platform . you understand?
Your answer