Forum rules - please read before posting.

Player CC - "Player cannot jump without a Rigidbody component"

Hey,

I've got my first person player character controller using Unity's character controller however I'm getting a "Player cannot jump without a Rigidbody component" warning every time the player jumps.

The jump works fine and I'm using the CCJump script component. Any clues how I can suppress the warning?

Comments

  • Easiest to just comment out the offending line, Player.cs line 299.

  • edited May 2021

    @ChrisIceBox Thanks. The fact this warning is popping up though is it a setup error on my part?

  • It's more advisory than a warning, and can be safely ignored. It appears because - in "vanilla" AC - jumping requires a Rigidbody. It's just not aware that you have an add-on script to handle it.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.