Using physics with RigidBody.addForce

Hello,

I try to use physics in my scene, the collision box and rigidBody works.
But I don’t find how to bring my Rigidbody from my player in my custom script and use addForce to make it jump.

Could you help me ?

Original Post on Discord

by user 224464722878005248

Have you tried getting the rigidbody component using getComponent(Rigidbody) and use the add force methods on that?

It doesn’t find the “Rigidbody” type

by user 224464722878005248

I tried to import it with needle but I think I missed

by user 224464722878005248

  • After another try, Capsule Collider doesn’t works

by user 224464722878005248

Capsule colliders are not supported right now

I collect bugs on my project, I send you directly the scene and the bugs
Like it I can make the conclusion here without spaming

by user 224464722878005248

Hey thanks, will take a look