Hi there, just looking for advice on a couple issues I'm having:
I'm creating a little game that involves rotating a set of panels to bounce falling boxes into a target. Around the target is a simple floor.
1. With higher restitution values (0.7+), which creates a nice bounce on the panels, I'm finding that boxes seem to never come to rest on the floor. On an unrelated note, at 0.9, the collisions are actually super-elastic, and eventually bounce out of the top of the screen.
2. We want the player to have extremely accurate and agile movement of the panels (controlled with the mouse), however I've noticed a lot of interpenetration when rotating the panels too fast. I'm probably doing this wrong, but I've been recreating the body of the panel on each frame with the new rotation. I've noticed the box is slowly pushed out on interpenetration; perhaps there is a way to increase this so it is resolved more quickly? Or is there an entirely different method I should be using?
Any advice would be appreciated
I'm creating a little game that involves rotating a set of panels to bounce falling boxes into a target. Around the target is a simple floor.
1. With higher restitution values (0.7+), which creates a nice bounce on the panels, I'm finding that boxes seem to never come to rest on the floor. On an unrelated note, at 0.9, the collisions are actually super-elastic, and eventually bounce out of the top of the screen.
2. We want the player to have extremely accurate and agile movement of the panels (controlled with the mouse), however I've noticed a lot of interpenetration when rotating the panels too fast. I'm probably doing this wrong, but I've been recreating the body of the panel on each frame with the new rotation. I've noticed the box is slowly pushed out on interpenetration; perhaps there is a way to increase this so it is resolved more quickly? Or is there an entirely different method I should be using?
Any advice would be appreciated