R3F & Rapier third person controller and follow camera

Hello,

I just wanted to ask if anyone has created a third person controller and follow camera using @react-three/fiber & @react-three/rapier similar to this example → CodeSandbox - CodeSandbox

the one in your link looks good, why not using it?

otherwise there’s a primitive keyboardcontrols in drei GitHub - pmndrs/drei: 🥉 useful helpers for react-three-fiber this is also being used in bruno simons last chapter where you make a physics game with a controller. Three.js Journey — Create a game with R3F

The version in the link i posted doesnt use @react-three/rapier or any other physics library

ideally id like to have the character wrapped with a so it can interact with other objects in the space

also, im not great at maths, but from what i can understand the movement/force applied is needs to differ from the above example

here’s an example with a first person controller using rapier

Thanks, I’ve seen this example, but it doesn’t quite match the ‘3rd person’ example im looking for

Main differences are the camera location and rotation behind the player model