1
Ask a Question / Trouble with actor physics
« on: June 05, 2011, 09:35:14 pm »
I'm having trouble getting my actors (primarily boxes that are being pushed around) to behave as intended.
My scene gravity is 100 down.
All actors in question can rotate, obey gravity, and weigh less than 1kg.
The only behavior set to the actors in question is the default "always simulate" with continuous collision turned on.
example:

Here you can see a simple little puzzle. The player pushes the long rectangle, then hops aboard as it rolls on the barrels beneath. Eventually the barrels will roll out, the rectangle will tip over and the player will fall off if they are still on board.
When the long rectangle is well-balanced, it rarely shows any problems, but when it gets further into its journey and tips over, it causes multiple problems.
The rectangle will often ignore its collision and spazz-out, sometimes getting caught in the tiles, when it hits an angle of about 40 degrees or more. The faster it rotates, the more likely it is to do this. Sometimes the player will jump or fall onto the rectangular platform and it will jitter in such a way that it drops through its supports or causes the player to pass right through it.
I haven't been messing around with custom behaviors for these actors.
I've been unable to determine whether this is a physics problem, or a collision problem, or both, or neither. I'd appreciate some direction.
Thank you!
My scene gravity is 100 down.
All actors in question can rotate, obey gravity, and weigh less than 1kg.
The only behavior set to the actors in question is the default "always simulate" with continuous collision turned on.
example:

Here you can see a simple little puzzle. The player pushes the long rectangle, then hops aboard as it rolls on the barrels beneath. Eventually the barrels will roll out, the rectangle will tip over and the player will fall off if they are still on board.
When the long rectangle is well-balanced, it rarely shows any problems, but when it gets further into its journey and tips over, it causes multiple problems.
The rectangle will often ignore its collision and spazz-out, sometimes getting caught in the tiles, when it hits an angle of about 40 degrees or more. The faster it rotates, the more likely it is to do this. Sometimes the player will jump or fall onto the rectangular platform and it will jitter in such a way that it drops through its supports or causes the player to pass right through it.
I haven't been messing around with custom behaviors for these actors.
I've been unable to determine whether this is a physics problem, or a collision problem, or both, or neither. I'd appreciate some direction.
Thank you!
