#No, simply when the game starts the

1 messages · Page 1 of 1 (latest)

spare moth
#

What I meant is put it on the floor

waxen grove
spare moth
#

Then move it up and down in the scene view

#

And see if Grounded works

waxen grove
#

It's not that complicated, there's just no force that hits so the figure starts to float!

spare moth
#

Bro does it stand on the ground or float ?? xD

#

Force? Are you using a rigidbody?

waxen grove
waxen grove
spare moth
#

Floating is staying at the same y pos

#

So it's floating upwards?

waxen grove
spare moth
#

what hahaahah

#

Okay

#

See if the ground check works

#

Like look in the inspector

#

Disable the character controller

waxen grove
spare moth
#

and move it up and down

#

Okay

#

wait

#

your gravity force is negative

#

if you substract it, it gets positive

#

gravityForce = Physics.gravity.y;

#

Physics,gravity.y is -9.81 if I default

#

if you do moveDirection.y -= gravity you start floating

waxen grove
#

its workkkkkkkkkkkk

spare moth
#

bro hahaha

#

Was it this?

waxen grove
#

😂

waxen grove
spare moth
#

yeah

waxen grove
#

But the jumps are really small

spare moth
#

thats why I said keep clean code

#

this stuff will happen a lot

#

Play around with the values and see if it gets better