FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Unusual collision behaviour

2 posters

Go down

Unusual collision behaviour Empty Unusual collision behaviour

Post  Fish Thu Aug 20, 2009 9:46 am

Hi,

I am having some unusual behavior with my collision.

I have a collision mesh (actor) with a object (dynamic actor) moving over this mesh using setLinearVelocity().

This works fine until the object hits the edge of any triangle in the mesh which seem to make the player 'jump' as if it has hit something at this edge.

I have used different scales and have tried one big mesh as well as separate meshs with the same result.

Has anyone else come across similar behavior?

Thanks,
Fish

Fish

Posts : 9
Join date : 2009-04-30

Back to top Go down

Unusual collision behaviour Empty Re: Unusual collision behaviour

Post  sio2interactive Thu Aug 20, 2009 11:48 am

It can be caused by using the optimizer on a static triangle mesh... the optimizer will degenerate triangles and that can cause the physic to behave strangely because of that.
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Unusual collision behaviour Empty Re: Unusual collision behaviour

Post  Fish Mon Aug 24, 2009 6:51 am

Alas it wasn't that.

I have reduced the problem by x100 the scale. setting the margin to 0.2f and changing the bound to sphere.

Fish

Posts : 9
Join date : 2009-04-30

Back to top Go down

Unusual collision behaviour Empty Re: Unusual collision behaviour

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum