A couple questions
Posted: Thu Apr 09, 2015 3:54 pm
Hello, I have a couple questions about bullet. I am not sure if I should open a topic for each seperately but ask them in one topic. I am sorry if I am doing a mistake.
* First question is can I write custom collision/contact handlers? I want to 'absorb' part of the collision response by deforming the mesh. In bullet it instantly stops the rigid body when it hits a collision object, instead I want to deform the mesh and only slow down the physic object.
* I want to create some unimportant rigid bodies in client only, do not want to sync them with server. So important objects (like player) should be able to push them but they shouldn't move the player, is it possible? One object affects the other but not the otherway.
* About the center of mass in the rigid body, I read that center of mass is center of transform for rigid bodies, is building the rigid body shifted by the center of mass only solution? It complicates my code a lot, I have to re-shift it back to for my views too.
That is all for now, thanks
* First question is can I write custom collision/contact handlers? I want to 'absorb' part of the collision response by deforming the mesh. In bullet it instantly stops the rigid body when it hits a collision object, instead I want to deform the mesh and only slow down the physic object.
* I want to create some unimportant rigid bodies in client only, do not want to sync them with server. So important objects (like player) should be able to push them but they shouldn't move the player, is it possible? One object affects the other but not the otherway.
* About the center of mass in the rigid body, I read that center of mass is center of transform for rigid bodies, is building the rigid body shifted by the center of mass only solution? It complicates my code a lot, I have to re-shift it back to for my views too.
That is all for now, thanks