Thank you.
and sometimes, the box will spin the wheels a little.
It is easy)
1)Every wheel have a sensor. When sensor collide with ground, it means that robot can jump
-look at front wheel. It is in air so sensor not collide with ground.
-but bottom wheel sensor collide with ground so robot can jump
2)Jump
Add force to body
game.player_e.car.base_body:apply_force(is_hook and balance.jump_power_hook or balance.jump_power)
I see, and when the box in in between the wheels, it constently touches the sensors.
Which causes infinite jumping.
and you made the sensor a little thiner then the wheel so the player can’t wall climb
Yes) So in theory to fixed it i need to make it impossible to glitch box between wheels)
Mb add some check and remove box collider if it stuck between wheels:)
In practice i will not fix it)
I already found another way of doing it, it involves the arm swinging through the player in a very low roof.
If you let go of the box at the right time, you could in theary get the box in the wheels.
also, this happened because the arm trying to reset to its original position.
and to stop the infinite jump in another way is to thin the sensor by the inside.
and I somehow was able to do this too, by accident.
and this.