f1th4p
(f1th4p)
August 25, 2022, 1:05pm
1
Hi everyone,
I have a question regarding opening and closing door in VR, when a VR Pawn is teleported near it.
I’ve managed to create an animation of opening and closing door following this tutorial: Opening Doors | Unreal Engine Documentation
Here is collision setup of this BP:
When I go into VR mode the collision box that is in the BP seems to block my VR trace from the controller:
Should I use something else to trigger the door opening, or should the collision setup be different?
Rumzie
(Rumzie)
August 25, 2022, 1:48pm
2
I’m not sure what purpose the box provides, as the mesh itself should have collision via static mesh.
Opening and closing is generally best done via an interface call. IE your trace should return an actor and you just call interface functions if it has them.
1 Like
You should check out “Object Collision Channels” and “Trace Channels” so you can control which objects should react with which trace/object channel
Here’s a bit about it:
Choosing what collides is obviously very important, but it can be tricky, and it’s a problem that we have spent quite a while discussing while developing UE4. The system we have can seem a little complex at first, but it is very powerful and...
And here’s how to add your Custom Channels:
With this knowledge you’ll be able to control the collisions and prevent your Teleport from being cancelled
1 Like