I got a question related DAC.
CS - collision shape
What want achieve:
- need to make BetterCharacterControl CS collide with terrain/objects in worlds, but not with DAC bone link CS
- need to make DAC bone link CS collide with terrain/objects in worlds but not with BetterCharacterControl CS
- make softbody also dont collide with BetterCharacterControl
never needed to use collision groups(leaving it for later optimize), but seems like now need it, but i dont seen it in dac configuration itself, the only code was managed to write is:
for (PhysicsRigidBody listRigidBody : dac.listRigidBodies()) {
listRigidBody.setCollisionGroup(PhysicsCollisionObject.COLLISION_GROUP_02);
listRigidBody.setCollideWithGroups(PhysicsCollisionObject.COLLISION_GROUP_02);
}
but it change nothing.
so i also tried add Group 1 for BetterCharacterControl rigid body, but it also change nothing.
When i search wiki for collision group i only found:
https://wiki.jmonkeyengine.org/jme3/advanced/physics_listeners.html#collision-groups
So my question is in general, do DAC support group collisions, if yes, then how can i achieve what i need(using this collision groups)?
Also im not sure if this is related, since i need investigate more, but i were receiving some throttle enqueue Lock related(each second FPS go down by 2x)(in character Test itself it dont - there are no terrain/objects):