Third person controller for R3F + Rapier

[CLOSED]

I was able to figure a solution.

Hello.
I can help you now.
As a result of looking at example website, I think this is no problem for me and I would lik to contribute to your project with all my efforts.
I hope we will have interview in more detail.
For payment, I would like to know whether you can pay via Payoneer.
Thanks in advance,

Best

If something like this :robot: is what you seek, I can kinda just give you the code.

But it’s in vanilla three - not r3f; and it’s cannon-es - not rapier. So some porting may be needed - but rapier and cannon have nearly identical API.

Feel free to reach out on discord - mjurczyk / jan@wtlstudio.com

1 Like

Hello friend! I’m making a big project with r3f and I’m using Rapier for physics. Maybe I can help you.
Reach out to me on twitter: https://twitter.com/andre_elias98

Hi

Hope you are doing well

As I have seen your post and I have 6 plus years’ of experience and I can do the job and I have read out all the requirements mentioned above and you can reach me out at mandy@techsolvo.com

Can we discus more on this?

Thanks& Regards
Mandy

Will reach you out!

Do not give up, you just to lookup the solution, see codes below how to create first person, third person, orbit and ar cameras;

// Create cameras
window.createCameras=function(c0){
	engineParameters.camera.zoom=1
  engineParameters.cameras=[]
	if(c0)engineParameters.cameraIndex=1
	// Chase camera
	registerCamera(modelsParameters.driveVehicleIndex[playerParameters.index]!=null?.65:.86,modelsParameters.driveVehicleIndex[playerParameters.index]!=null?.5:orientation==0?.5:.86,0,c0)
	// First person camera
  registerCamera(modelsParameters.driveVehicleIndex[playerParameters.index]!=null?.65:.86,modelsParameters.driveVehicleIndex[playerParameters.index]!=null?.15:.015,1,c0)
	// Aerial camera
	registerCamera(orientation==0?.86:1,modelsParameters.driveVehicleIndex[playerParameters.index]!=null?4:orientation==0?1.2:2,2,c0)
	// Orbit camera
	registerCamera(orientation==0?.86:1,modelsParameters.driveVehicleIndex[playerParameters.index]!=null?4:orientation==0?1.2:2,2,c0)
	if(c0){
		setTimeout(function(){
			processMemory.cX0=lsRd('myCamera'+myUserID.uid)==null?playerParameters.camera.select:JSON.parse(lsRd('myCamera'+myUserID.uid)).index
			engineParameters.cameraIndex=processMemory.cX0==3?2:processMemory.cX0
			if(c0)hideMyMesh()
		},900)
	}
}

Check showcase for live demo

Hello.

I can help you achieve your idea to real life.

I can start to work right now, if you have any glb or fbx related to the avatar.

Already have been worked for integrating the avatar including RPM(ready player me) using R3F.

Hope to discuss more detail with you.
brianyoung.luck@gmail.com

Regards.
Brian

This topic was automatically closed after 30 days. New replies are no longer allowed.