Please help with Physics and rotation

Hy all,

I have a simple game. Is a ball falling over some walls (like platform walls and floors), but the player can rotate the walls and the floors, (all this walls are inside a circle, and the player can rotate the circle).

The problem is that if I rotate the walls and the floors quickly, my ball cross the walls and the floors, like if there are not collision.

I set the walls and the floors as “static” and the ball as “dynamic”.

I please any kind of advise or suggestion.

Thanks [import]uid: 128859 topic_id: 30042 reply_id: 330042[/import]

How are you rotating them? Did you check Jon’s post, Solutions to Common Physics problems? :slight_smile: [import]uid: 52491 topic_id: 30042 reply_id: 120446[/import]

Hi Pellen,

Yes. I have review this post, and try several solutions of the section “Objects are going through walls”, but I can’t fix the problem.

I´m rotating the floors by rotating a wheel: the player moves a wheel, (rotating it by touch), and by rotating this wheel, the walls rotate themself too. The problem is when I try to rotate the wheel a little faster, then the ball cross walls.

Thanks. [import]uid: 128859 topic_id: 30042 reply_id: 120449[/import]

Have you viewed the scene with draw mode set to hybrid? Any weirdness there? [import]uid: 52491 topic_id: 30042 reply_id: 120555[/import]

Hi Peach,

Yes, and no, there are no weirdness.

Is possible to send to you my code, so you can view it? [import]uid: 128859 topic_id: 30042 reply_id: 120625[/import]

Could you perhaps post plug and play? [import]uid: 52491 topic_id: 30042 reply_id: 120822[/import]

How are you rotating them? Did you check Jon’s post, Solutions to Common Physics problems? :slight_smile: [import]uid: 52491 topic_id: 30042 reply_id: 120446[/import]

Hi Pellen,

Yes. I have review this post, and try several solutions of the section “Objects are going through walls”, but I can’t fix the problem.

I´m rotating the floors by rotating a wheel: the player moves a wheel, (rotating it by touch), and by rotating this wheel, the walls rotate themself too. The problem is when I try to rotate the wheel a little faster, then the ball cross walls.

Thanks. [import]uid: 128859 topic_id: 30042 reply_id: 120449[/import]

Have you viewed the scene with draw mode set to hybrid? Any weirdness there? [import]uid: 52491 topic_id: 30042 reply_id: 120555[/import]

Hi Peach,

Yes, and no, there are no weirdness.

Is possible to send to you my code, so you can view it? [import]uid: 128859 topic_id: 30042 reply_id: 120625[/import]

Could you perhaps post plug and play? [import]uid: 52491 topic_id: 30042 reply_id: 120822[/import]