Hello
Working with physics in VR, and so visualizer are not render a thing in VR(https://developer.unigine.com/forum/topic/4446-turn-on-visualizer-in-vr/?tab=comments#comment-23169)... I'd like to see where player collide with scene (because of unexpected collision response sometime)
1. looking at examples - there only Body collision callbacks, how to call back for collided surfaces?
for example collision of VR controller and scene:
2. I should set controller transformation with setLinearVelocity... instead of setWorldTransform to get right collisions, right?
because in code for \demos\vr_template_demo_windows_2.6.0.1\source\PlayerVR\Players\PlayerVive.cpp, I see:
mat4 transform = vive.getDevicePose(device_id);
controller[num]->setWorldTransform(player_transform * Mat4(transform));
does it mean 'if vr_template' had controller collisions - this would not work properly?
3. how to set collision mask without VRcontroller having body assigned, only surface - in editor I can see "Surfaces->Collision mask" and Body type "none" - and it has collisions in scene
https://developer.unigine.com/en/docs/2.6/code/usage/enabling_collision/?rlang=cpp&words=setcollisionmask#highlight
thanks