Hi! I’m using a Character Controller for the main player and building an Elevator logic. Reading the documentation I found that Nvidia recommends use PxObstacle for that. Logic works (Behaviour callback is responding and CCT is over the elevator and moving with It) but, there’s a big problem: It is invisible in Physx Visual Debugger. I need to see it to debug size etc.
Any help here? Thanks
I found a solution. Just build a Rigid Dynamic Body with GeometryBox, make It Kinnematic with setActorFlag(PxActorFlag::eDISABLE_SIMULATION, true); and update both positions (obstacle and dynamic body).