Physics material isn't working

4.4
does anyone know how to make a characterbody3d bounce off of a gridmap object via the gridmaps physics material i can’t get it to work

CharacterBody3D doesn’t get affected by physics. It only interacts with them. You’ll need to code that behavior yourself.

1 Like

would i have to use a area3d for this

Area3D only detects other physics objects. It does not interact with the physics system. The only node that interacts with the physics system is the RigidBody3D

So how do i fix this, please keep in mind that i just started game dev and have the iq of a toddler lol

Well, you have two options:

  • Simulate the bounce yourself with a CharacterBody3D: You can check the documentation about vector math and advanced vector math to find out how to do it.
  • Use a RigidBody3D for the player. This is harder. Here’s a 2D platformer demo that uses a RigidBody2D for the player.