Collision and animated meshs

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Mr. XYZ

Collision and animated meshs

Post by Mr. XYZ »

hello!

i have an animated object - a person who starts crouching...

My question is, if there is any chance to add a collision which takes care of the changing size of the animation ?

Did anyone has an example? The collisionresponse animator doesn't care about the size of the mesh, i think...
Dances
Posts: 454
Joined: Sat Jul 02, 2005 1:45 am
Location: Canada
Contact:

Post by Dances »

Perhaps during the animation you could switch the collision animator to another one at the right size during the animation, then switch back to the old one after?
SARIN
Posts: 139
Joined: Fri Oct 29, 2004 3:53 am

Post by SARIN »

i believe the aabbox of the node changes with the animation. if ur trying to do exact collision (like with a bullet) i think the ray changes with the mesh too.
Browndog
Posts: 74
Joined: Thu Aug 18, 2005 2:53 am

Post by Browndog »

yeah the aabbox changes I have done somthing a little like this, also you could check for triangle intersections with your mesh, which may be too much of a performance hit.
Post Reply