The obstacle should have physics3d behavior and the player have physicscharacter3d and/or physics3d.
You can also just pick one of the 3D templates to get started and edit it.
Okay, thanks!