player accelerates through floor
azelen22
Member, BASIC Posts: 3
My player actor accelerates like normal when in the air but when it hits the floor it phases through very slowly. I made sure that the player actor and the floor have collision. is there a way to turn off acceleration when they collide?
Answers
You could make game Boolean attribute call it"Collide"
Rule if attribute Collide is false then accelerate
Another rule.
If actor collides overlaps with floor
Change attribute "collide" to true
It should accelerate but if it touches the floor it should not accelerate.
Something to try anyways.
Thanks for the advice but it still wants to accelerate, even with the boolean in place. I even set the players linear velocity to 0 when the collision occurs but that didn't help.
//
So you want object to just stop when it hits the floor? Bounce off?
https://www.dropbox.com/s/528gdbp786dot9r/accerlate and stop.zip?dl=0
Simple accelerate but stop on floor......