Hey All
I have a couple of questions regarding Bullet and Physics simulation in games.
1. When you simulate characters as rag-dolls, how does that integrate with keyframe animation or Skeletal animation? How do you simulate balance, walking, jumping?
2. Can you register callbacks that are triggered when a certain object collides with another, to do custom collision response, like say deform a mesh or something? I didn't find anything on this in the user manual, or did I miss it?
Thanks
Discordia
Newbie questions
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Newbie questions
This is not an easy newbie topic. Some basic methods rely on blending between rigid body and animation. More complicated methods use PD controllers or dynamic control using motors. Balancing using ragdolls etc is a research topic. Instead, most games use a single capsule or other simplified shape that encloses the ragdoll/character to perform walking, jumping etc.Discordia wrote:Hey All
I have a couple of questions regarding Bullet and Physics simulation in games.
1. When you simulate characters as rag-dolls, how does that integrate with keyframe animation or Skeletal animation? How do you simulate balance, walking, jumping?
There are various methods, and a tutorial/demo will be added in upcoming Bullet versions. One method is traversing all contact points after the simulation step, see CollisionInterfaceDemo.2. Can you register callbacks that are triggered when a certain object collides with another, to do custom collision response, like say deform a mesh or something? I didn't find anything on this in the user manual, or did I miss it?
Hope this helps,
Erwin
-
- Posts: 2
- Joined: Mon Jan 14, 2008 9:30 pm
Re: Newbie questions
Thats basically what I had guessed, thanks.Erwin Coumans wrote:This is not an easy newbie topic. Some basic methods rely on blending between rigid body and animation. More complicated methods use PD controllers or dynamic control using motors. Balancing using ragdolls etc is a research topic. Instead, most games use a single capsule or other simplified shape that encloses the ragdoll/character to perform walking, jumping etc.Discordia wrote:Hey All
I have a couple of questions regarding Bullet and Physics simulation in games.
1. When you simulate characters as rag-dolls, how does that integrate with keyframe animation or Skeletal animation? How do you simulate balance, walking, jumping?
It does, thanks.Erwin Coumans wrote: Hope this helps,
Erwin
Discordia