First Person Movement with engine code

Hello there,

I recently started to work with PC engine-only, it was quite hectic initially. But step-by-step, I countered different problems and understood the workflow. But now I am stuck at somewhere in FPS movement. I have loaded my .glb model and created a character controller using the playcanvas example ‘First Person Movement’ code. To be clear, I am using React.js.

So, coming towards issue, it is that after I have made the whole scene rigid body and added collider script in it, and used applyForce/LinearVelocity for player movement, the mouse controls stopped working (onMouseMove function isn’t effective anymore). When i move mouse the view on 3d scene doesn’t get rotated with mouse movement.

I don’t know If I made myself clear or not, but I hope seniors would understand and help me in this.