Collision for animate object
3 posters
Collision for animate object
How i can make collision check for animate object ( skeletal mesh )? Without one primitive bound for all mesh.
soniccat- Posts : 10
Join date : 2009-07-15
Re: Collision for animate object
I make football like game. I illustrate my problem below:
I want simulate really physic when ball intersect my skeletal mesh.
I want simulate really physic when ball intersect my skeletal mesh.
soniccat- Posts : 10
Join date : 2009-07-15
Re: Collision for animate object
Got it... is this your first game? If yes you might wanna aim for something less ambitious... Cuz this kind of real life physic simulation is pretty hard to achieve. And usually for sports game, you'd better go with your own engine to do it cuz its kind of really specific, or you can build your own player engine around an existing one.
In any case, you have ALOT of work to do even if you are using using SIO2
Best of luck!
Cheers,
In any case, you have ALOT of work to do even if you are using using SIO2
Best of luck!
Cheers,
Re: Collision for animate object
You might want to search the bullet forums for how people are dealing with modified rigid bodies.
For instance
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2050&hilit=modify+rigid+body
For instance
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2050&hilit=modify+rigid+body
zzajin- Posts : 81
Join date : 2008-10-14
Re: Collision for animate object
In any case, you have ALOT of work to do even if you are using using SIO2
Now i divide my model on bounding rectangle. Rectangle is dynamic body in blender . I update it position every render with _btRigidBody->setWorldTransform.
In blender i make ipo animation for rectangles, that animation correspond with my mesh animation. And then i multiply my physical transform matrix with ipo transform matrix. Now that rectangles move synchronously with my simple mesh.
But collision in Bullet not work with directly change position ( that obvious ). And i will use that function for collision check:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3419&p=14331&hilit=check+collision#p14331
You might want to search the bullet forums for how people are dealing with modified rigid bodies.
I found http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1832&p=6973&hilit=skeletal#p6973. But he say that my question not simple too
soniccat- Posts : 10
Join date : 2009-07-15
Similar topics
» Use object only for collision
» Collision with high speed object (ccd)
» physics object inside another physics object
» collision and scale :(
» md2 collision
» Collision with high speed object (ccd)
» physics object inside another physics object
» collision and scale :(
» md2 collision
Permissions in this forum:
You cannot reply to topics in this forum