Treecollision optimize error

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Re: Treecollision optimize error

Postby collerblade » Mon Apr 25, 2011 12:55 pm

Hello again

So im back. I see. But it isnt crashes me. The car works fine to me.. only the ground hase interesting matrix..

Ok u changed those functions. But how can i get the body for the function?

Sorry but i dont understand this:
the body that the half joint is attach too

"half joint" ?
collerblade
 
Posts: 88
Joined: Mon Apr 05, 2010 12:09 pm

Re: Treecollision optimize error

Postby collerblade » Mon Apr 25, 2011 1:10 pm

So i tried NewtonJointGetBody1(contact) in the callback.
Its works! This coused the problem then.

Thx


Do u like the movement of the car??
collerblade
 
Posts: 88
Joined: Mon Apr 05, 2010 12:09 pm

Re: Treecollision optimize error

Postby collerblade » Mon Apr 25, 2011 1:17 pm

I could not made it better. Maybe we sould talk to improove it! If u have some time.
collerblade
 
Posts: 88
Joined: Mon Apr 05, 2010 12:09 pm

Re: Treecollision optimize error

Postby Julio Jerez » Mon Apr 25, 2011 1:50 pm

collerblade wrote:Do u like the movement of the car??

I did not test teh car movemnet, I just looked at the crash.

if you made the change to pass teh Body, usin the funtion JointGetBody, 'then it soudl work exactly as it was in the older version.
after you do that the car movemnt is a diffrent problems.

do you have it working without crash now?
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Treecollision optimize error

Postby collerblade » Mon Apr 25, 2011 2:19 pm

Yes its okay. Thx a lot.
collerblade
 
Posts: 88
Joined: Mon Apr 05, 2010 12:09 pm

Previous

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 9 guests

cron