Platform Collision

Blitz3D Forums/Blitz3D Beginners Area/Platform Collision

Whats My Face(Posted 2007) [#1]
I trying to make a game where you jump from one moving platform to another. Collision works just fine for platforms that are still and for ones that move along the x and z axis but for platforms that move up and down but the player sort of drifts slowly through the platforms and then starts free-falling once he gets through. I am using sphere(player)-to-poly(platform) collisions.


Ross C(Posted 2007) [#2]
Once collisions are detected, parent you player to the platform, and disable gravity on him whilst he's standing. As soon as he jumps, then unparent him again.

I use linepick for collisions on the project i was/am working on. Linepick works great because it doesn't care if the entities are moving :o)