@devastation 328
Hello,
hup# variable makes climbing on stuff smoother.Without it player would jump instantly from ground level to say some crate or table.
I made that hup# variable,so be sure in my words.
Anyway to stop player step onto things above half of his height(charht#) just replace this line in _collisions subroutine:
col=intersectObjectDBC(1,1,cx#,cy#,cz#,chx#,cy#,chz#,0)
in to:
col=intersectObjectDBC(1,1,cx#,cy#-(charht#/2),cz#,chx#,cy#-(charht#/2),chz#,0)
That will drop "ray-casting" to one half of player`s height,and solve your problem.
Hope this helpes.
All best.Any question at:
[email protected]
Toggy.