Hio,
I recently caused a bug fixing the physics in simple engine.
It is perfect physics but it makes the character go up and down. (It does:
Forever
_____
if not touching green
change y by -5
________
_____
if touching green
change y by 10
________
Any alternatives or fix's?
Offline
Try making the number under "if touching green" smaller... that way, it wouldn't jump up so much... and under "if not touching green", you can make the number smaller, but it will also make it fall slower...
Offline
What do you want it to do when it touches green? You could make it stop by using a variable (you could call it Velocity) and setting to zero when touching green:
set Velocity to -5
Forever
if touching green
change y by 10
set Velocity to 0
change y by velocity
You could also make it change direction by using a variable:
set Velocity to -5
Forever
if touching green
set Velocity to 10
change y by velocity
If you're looking to do something else, let us know.
Offline
@teguki. It will fall down the ground.
Offline
Move the if touching green up and change it to 5 instead of 10
Offline